Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | let acceptable types specify their quality (#26) | Stefan Wójcik | 2016-10-16 | 1 | -0/+16 |
| | |||||
* | more readable formatting of test data | Stefan Wojcik | 2016-10-16 | 1 | -7/+28 |
| | |||||
* | extra test based on RFC 7231 page 38 | Stefan Wojcik | 2016-09-28 | 1 | -0/+8 |
| | |||||
* | cleaner code for quality_and_fitness_parsed | Stefan Wojcik | 2016-09-28 | 1 | -1/+1 |
| | |||||
* | more readable testdata.json | Stefan Wojcik | 2016-09-28 | 1 | -46/+184 |
| | |||||
* | Handle q parameter name case insensitively | Ville Skyttä | 2016-05-02 | 1 | -0/+1 |
| | | | | https://tools.ietf.org/html/rfc7231#section-5.3.1 | ||||
* | Handle non-numeric q value gracefully | Ville Skyttä | 2016-05-02 | 1 | -0/+1 |
| | |||||
* | Add test case for negative q value | Ville Skyttä | 2016-05-02 | 1 | -0/+1 |
| | |||||
* | Use cgi.parse_header for main type parsing | Ville Skyttä | 2016-04-28 | 1 | -0/+1 |
| | | | | Adds support for quoted string parameter values. | ||||
* | make sure mimeparse gracefully handles an invalid mime type of the form ↵ | Stefan Wójcik | 2016-04-20 | 1 | -1/+2 |
| | | | | "text/extra/part" (#14) | ||||
* | raise an exception when the header cannot be parsed + better handling of ↵ | Stefan Wojcik | 2016-01-26 | 1 | -2/+4 |
| | | | | unit tests | ||||
* | Fixed Wrong ordering of candidates | D.B. Tsai | 2012-08-27 | 1 | -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.json | D.B. Tsai | 2012-08-27 | 1 | -30/+30 |
| | |||||
* | Fixed that parse_media_range overrides quality values of 0 | D.B. Tsai | 2012-08-27 | 1 | -0/+1 |
| | | | | https://github.com/dbtsai/python-mimeparse/issues/1 | ||||
* | Fixed formatting of Python code. | Joe Gregorio | 2012-08-22 | 1 | -3/+4 |
| | |||||
* | Respect order of supported in the event of a tie. | Ed Summers | 2012-08-22 | 1 | -2/+4 |
| | |||||
* | Added tests for parse_mime_type. One came from the docstring for the Python | Ade Oshineye | 2012-08-22 | 1 | -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 Oshineye | 2012-08-22 | 1 | -0/+34 |
The current tests are just a port of the existing Python tests but I plan to add more. |