[Corona] Accept header info retrieval in the Request class
Review Request #268 — Created Jan. 29, 2014 and submitted — Latest diff uploaded
Information | |
---|---|
leo | |
Lunr | |
master | |
19739 | |
Reviewers | |
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
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
src/Lunr/Corona/Request.php |
---|
src/Lunr/Corona/RequestInterface.php |
---|
src/Lunr/Corona/Tests/RequestGetTest.php |
---|
src/Lunr/Corona/Tests/RequestTest.php |
---|
src/Lunr/Shadow/CliRequest.php |
---|
src/Lunr/Shadow/Tests/CliRequestGetTest.php |
---|
src/Lunr/Shadow/Tests/CliRequestTest.php |
---|