summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wojcik <wojcikstefan@gmail.com>2016-10-16 18:47:49 -0400
committerStefan Wojcik <wojcikstefan@gmail.com>2016-10-16 18:47:49 -0400
commitc8a4f227b6de69e565fc76b5b0f1ca2aba38aaff (patch)
treeccb27ae0cd37dbb1692dc595aa6a01ce3b069c0c
parent98494cd852addf0baeeb469c8d698f3d11f469d7 (diff)
downloadpython-mimeparse-q-support-in-acceptable-types.tar.gz
extra test with implicit qualityq-support-in-acceptable-types
-rw-r--r--testdata.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/testdata.json b/testdata.json
index 0aafd05..2ceee39 100644
--- a/testdata.json
+++ b/testdata.json
@@ -196,6 +196,14 @@
],
[
[
+ ["text/html;q=0.9", "application/json", "text/plain;q=0.1"],
+ "*/*"
+ ],
+ "application/json",
+ "*/* match should pick an acceptable type with the highest quality, even if it's implicit"
+ ],
+ [
+ [
["application/json", "text/html"],
"text"
],