Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:dbtsai/python-mimeparse into ↵ | Stefan Wojcik | 2016-10-16 | 1 | -1/+1 |
|\ | | | | | | | q-support-in-acceptable-types | ||||
| * | v1.5.51.5.5 | Stefan Wojcik | 2016-10-10 | 1 | -1/+1 |
| | | |||||
| * | v1.5.41.5.4 | Stefan Wojcik | 2016-10-10 | 1 | -1/+1 |
| | | |||||
| * | v1.5.31.5.3 | Stefan Wojcik | 2016-09-28 | 1 | -1/+1 |
| | | |||||
* | | let acceptable types specify their quality | Stefan Wojcik | 2016-09-28 | 1 | -0/+3 |
|/ | |||||
* | extra test based on RFC 7231 page 38 | Stefan Wojcik | 2016-09-28 | 1 | -1/+0 |
| | |||||
* | cleaner code for quality_and_fitness_parsed | Stefan Wojcik | 2016-09-28 | 1 | -14/+33 |
| | |||||
* | setup.py sanity check + pep8 tweaks to mimeparse.py | Stefan Wojcik | 2016-09-28 | 1 | -1/+2 |
| | |||||
* | setup.py + README tidying (#22) | Adam Chainz | 2016-09-28 | 1 | -20/+0 |
| | | | | | | * Convert `README.md` to `README.rst` since rst is all that PyPI supports * Tidy up README so all functions are explained with their own headers * Use context managers for opening files in `setup.py` * Don't import the code in `setup.py`, which doesn't work on some platforms before it's installed. Instead use parsing of the file to find the version. | ||||
* | Document return types (#24) | Ville Skyttä | 2016-08-08 | 1 | -1/+13 |
| | |||||
* | Handle q parameter name case insensitively | Ville Skyttä | 2016-05-02 | 1 | -1/+2 |
| | | | | https://tools.ietf.org/html/rfc7231#section-5.3.1 | ||||
* | Handle non-numeric q value gracefully | Ville Skyttä | 2016-05-02 | 1 | -1/+4 |
| | |||||
* | Simplify q value validation | Ville Skyttä | 2016-05-02 | 1 | -2/+1 |
| | |||||
* | Merge pull request #19 from scop/use-cgi | Stefan Wójcik | 2016-05-01 | 1 | -5/+2 |
|\ | | | | | Use cgi.parse_header for main type parsing | ||||
| * | Use cgi.parse_header for main type parsing | Ville Skyttä | 2016-04-28 | 1 | -5/+2 |
| | | | | | | | | Adds support for quoted string parameter values. | ||||
* | | Update RFC links to point to RFC 7231 | Ville Skyttä | 2016-04-28 | 1 | -3/+4 |
|/ | |||||
* | 1.5.2 | Stefan Wojcik | 2016-04-26 | 1 | -1/+1 |
| | |||||
* | make sure mimeparse gracefully handles an invalid mime type of the form ↵ | Stefan Wójcik | 2016-04-20 | 1 | -2/+3 |
| | | | | "text/extra/part" (#14) | ||||
* | Spelling fix (#15) | Ville Skyttä | 2016-04-20 | 1 | -1/+1 |
| | |||||
* | 1.5.1 | DB Tsai | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | MimeTypeParseException should inherit from ValueError | Stefan Wojcik | 2016-02-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #11 from scop/version | DB Tsai | 2016-02-01 | 1 | -1/+1 |
|\ | | | | | Fix mimeparse.__version__, use it in setup.py | ||||
| * | Fix mimeparse.__version__, use it in setup.py | Ville Skyttä | 2016-02-01 | 1 | -1/+1 |
| | | |||||
* | | Remove unnecessary executable permissions | Ville Skyttä | 2016-02-01 | 1 | -0/+0 |
|/ | |||||
* | py3.2 compat | Stefan Wojcik | 2016-01-27 | 1 | -1/+1 |
| | |||||
* | raise an exception when the header cannot be parsed + better handling of ↵ | Stefan Wojcik | 2016-01-26 | 1 | -0/+8 |
| | | | | unit tests | ||||
* | pep8 fixes | Ville Skyttä | 2016-01-05 | 1 | -1/+1 |
| | |||||
* | Fixed Wrong ordering of candidates | D.B. Tsai | 2012-08-27 | 1 | -5/+5 |
| | | | | | | | | | 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' | ||||
* | Fixed that parse_media_range overrides quality values of 0 | D.B. Tsai | 2012-08-27 | 1 | -3/+2 |
| | | | | https://github.com/dbtsai/python-mimeparse/issues/1 | ||||
* | Uploaded to PyPI using python-mimeparse as package name. | D.B. Tsai | 2012-08-27 | 1 | -1/+1 |
| | |||||
* | Ported to python3k, and added pypy into the tox test automation. | D.B. Tsai | 2012-08-27 | 1 | -1/+2 |
| | |||||
* | Fixed ``has_key()`` which is deprecated in python3. | D.B. Tsai | 2012-08-27 | 1 | -13/+13 |
| | | | | Also cleaned up several PEP8 warnings. | ||||
* | Added tox for automation project testing, and travis-ci for continuous ↵ | D.B. Tsai | 2012-08-27 | 1 | -0/+0 |
| | | | | integration | ||||
* | Clean up comments and formatting to make it PEP8 compatible. | Joe Gregorio | 2012-08-22 | 1 | -66/+99 |
| | |||||
* | Fixes issue 7. | Joe Gregorio | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | Respect order of supported in the event of a tie. | Ed Summers | 2012-08-22 | 1 | -6/+17 |
| | |||||
* | Removed the tests in mimeparse.py since we now have the language independent ↵ | Ade Oshineye | 2012-08-22 | 1 | -58/+0 |
| | | | | tests. | ||||
* | * Add Erlang version of mimeparse. | Steve Vinoski | 2012-08-22 | 1 | -23/+42 |
| | | | | | | * Fix problem in best_match where a wildcard match was being preferred to an exact match. * Handle single star "*" mime_type that Java's URLConnection class emits by turning it into "*/*". * Added unit tests for the changes. | ||||
* | Initial checkin | Joe Gregorio | 2012-08-22 | 1 | -0/+162 |