summaryrefslogtreecommitdiff
path: root/testdata.json
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-04-28 10:47:19 +0300
committerVille Skyttä <ville.skytta@iki.fi>2016-05-02 10:26:35 +0300
commit64a64e32ab8c14e91a6a196cf0a2dd7637d4f3a7 (patch)
tree24d4cca9ae2404fa053c0083274bee898af78fda /testdata.json
parent7d3bf001d284ffbd9d555ce213241040c291f79b (diff)
downloadpython-mimeparse-64a64e32ab8c14e91a6a196cf0a2dd7637d4f3a7.tar.gz
Handle q parameter name case insensitively
https://tools.ietf.org/html/rfc7231#section-5.3.1
Diffstat (limited to 'testdata.json')
-rw-r--r--testdata.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata.json b/testdata.json
index ab7693c..4f0a648 100644
--- a/testdata.json
+++ b/testdata.json
@@ -9,6 +9,7 @@
["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"}]],
+ ["application/xml ; Q=0.6", ["application", "xml", {"q": "0.6"}]],
[" *; q=.2",["*", "*", {"q": ".2"}]]
],