summaryrefslogtreecommitdiff
path: root/testdata.json
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Wrong ordering of candidatesD.B. Tsai2012-08-271-0/+1
| | | | | | | | | See https://github.com/dbtsai/python-mimeparse/issues/3 mimeparse.best_match(["image/jpeg", "text/plain"], "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5") Expected: 'image/jpeg' Instead: 'text/plain'
* Remove the tab in testdata.jsonD.B. Tsai2012-08-271-30/+30
|
* Fixed that parse_media_range overrides quality values of 0D.B. Tsai2012-08-271-0/+1
| | | | https://github.com/dbtsai/python-mimeparse/issues/1
* Fixed formatting of Python code.Joe Gregorio2012-08-221-3/+4
|
* Respect order of supported in the event of a tie.Ed Summers2012-08-221-2/+4
|
* Added tests for parse_mime_type. One came from the docstring for the PythonAde Oshineye2012-08-221-0/+5
| | | | | function. The other came from the test for the Go function. Updated the README file to describe the structure of the test data.
* Added the first set of language independent tests and a Python implementation.Ade Oshineye2012-08-221-0/+34
The current tests are just a port of the existing Python tests but I plan to add more.