diff options
| author | D.B. Tsai <dbtsai@dbtsai.com> | 2012-08-26 17:15:26 -0700 |
|---|---|---|
| committer | D.B. Tsai <dbtsai@dbtsai.com> | 2012-08-27 20:03:06 -0700 |
| commit | 2d600d3fc4a386af69d20fba433843b4df2b3c92 (patch) | |
| tree | 448829c54d645a9331492b34a27c12861402f7ee /setup.py | |
| parent | 67b1d8bce8e41a77ee19038453b3ecdb85708f2a (diff) | |
| download | python-mimeparse-2d600d3fc4a386af69d20fba433843b4df2b3c92.tar.gz | |
Fixed Wrong ordering of candidates
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'
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
