summaryrefslogtreecommitdiff
path: root/testdata.json
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-04-28 11:49:05 +0300
committerVille Skyttä <ville.skytta@iki.fi>2016-04-28 11:49:05 +0300
commit109b38802db3a1128b064142a6a9fd72df74d08d (patch)
tree9529c1e2f592c9e7f25b6c3ed20988818d9a1c19 /testdata.json
parentcc66740c6e46b85ac55e989fd4883d5697e15c35 (diff)
downloadpython-mimeparse-109b38802db3a1128b064142a6a9fd72df74d08d.tar.gz
Use cgi.parse_header for main type parsing
Adds support for quoted string parameter values.
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 bb89e6f..409ab72 100644
--- a/testdata.json
+++ b/testdata.json
@@ -41,6 +41,7 @@
"parse_mime_type": [
["application/xhtml;q=0.5", ["application", "xhtml", {"q": "0.5"}]],
["application/xhtml;q=0.5;ver=1.2", ["application", "xhtml", {"q": "0.5", "ver": "1.2"}]],
+ ["application/xhtml;q=0.5;foo=\"bar quux\"", ["application", "xhtml", {"q": "0.5", "foo": "bar quux"}]],
["text", null],
["text/something/invalid", null]
]