diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2016-04-28 10:41:02 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2016-05-02 10:19:27 +0300 |
commit | 7d3bf001d284ffbd9d555ce213241040c291f79b (patch) | |
tree | 71ffd2ac1521f4f1f57df31c7cb4943b95846f24 /testdata.json | |
parent | 78e3e74deff9dddc54e22d1fbe9071383ab39ddc (diff) | |
download | python-mimeparse-7d3bf001d284ffbd9d555ce213241040c291f79b.tar.gz |
Handle non-numeric q value gracefully
Diffstat (limited to 'testdata.json')
-rw-r--r-- | testdata.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata.json b/testdata.json index d5f079a..ab7693c 100644 --- a/testdata.json +++ b/testdata.json @@ -8,6 +8,7 @@ ["application/xml ; q=1;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=2;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=0",["application", "xml", {"q": "0"}]], + ["application/xml ; q=foo", ["application", "xml", {"q": "1"}]], [" *; q=.2",["*", "*", {"q": ".2"}]] ], |