diff options
| author | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-09-28 18:19:49 -0400 |
|---|---|---|
| committer | Stefan Wojcik <wojcikstefan@gmail.com> | 2016-09-28 18:19:49 -0400 |
| commit | cc55a1ba1479e2897a819916c28fd050f7a9fea2 (patch) | |
| tree | 8b28d212cbacee0205c21c36c3488fc105d4f071 /testdata.json | |
| parent | 5443249bcddbb9e8e4f3de95f14b3a9bdc7aa3e6 (diff) | |
| download | python-mimeparse-cc55a1ba1479e2897a819916c28fd050f7a9fea2.tar.gz | |
extra test based on RFC 7231 page 38
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 7e591be..cd655c8 100644 --- a/testdata.json +++ b/testdata.json @@ -151,6 +151,14 @@ ], [ [ + ["text/plain", "text/plain;format=flowed", "text/html"], + "text/*, text/plain, text/plain;format=flowed, */*" + ], + "text/plain;format=flowed", + "most specific reference has precedence" + ], + [ + [ ["application/rdf+xml", "text/html"], "text/html, application/rdf+xml" ], |
