[Corona] Accept header info retrieval in the Request class

Review Request #268 — Created Jan. 29, 2014 and submitted — Latest diff uploaded

leo
Lunr
master
19739
lunr
Corona: Add Accept header info retrieval from the Request class

Methods for returning the best match among content type, language and
encoding given a set of supported values for each of the above.
unit tests, requests with postman
src/Lunr/Corona/Request.php
src/Lunr/Corona/RequestInterface.php
src/Lunr/Corona/Tests/RequestGetTest.php
src/Lunr/Corona/Tests/RequestTest.php
src/Lunr/Halo/PsrLoggerTestTrait.php
src/Lunr/Shadow/CliRequest.php
src/Lunr/Shadow/Tests/CliRequestGetTest.php
src/Lunr/Shadow/Tests/CliRequestTest.php
src/Lunr/Spawn/NullDispatcher.php
src/Lunr/Spawn/ResqueRequest.php
src/Lunr/Spawn/Tests/ResqueRequestBaseTest.php
Loading...