diff options
author | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-10-16 18:47:49 -0400 |
---|---|---|
committer | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-10-16 18:47:49 -0400 |
commit | c8a4f227b6de69e565fc76b5b0f1ca2aba38aaff (patch) | |
tree | ccb27ae0cd37dbb1692dc595aa6a01ce3b069c0c /testdata.json | |
parent | 98494cd852addf0baeeb469c8d698f3d11f469d7 (diff) | |
download | python-mimeparse-q-support-in-acceptable-types.tar.gz |
extra test with implicit qualityq-support-in-acceptable-types
Diffstat (limited to 'testdata.json')
-rw-r--r-- | testdata.json | 8 |
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" ], |