diff options
author | Joe Gregorio <joe.gregorio@gmail.com> | 2010-09-15 11:06:42 -0700 |
---|---|---|
committer | David Tsai <dbtsai@dbtsai.com> | 2012-08-22 15:15:12 -0700 |
commit | d647b744769c528bd322bd2597721e07d6ddf9c7 (patch) | |
tree | eb14a505ff5f2260cffd178d1b5efb5952270dbc /testdata.json | |
parent | 8bfb5ebf9d6cef561f5ab6462e51291127cdf1ad (diff) | |
download | python-mimeparse-d647b744769c528bd322bd2597721e07d6ddf9c7.tar.gz |
Fixed formatting of Python code.
Diffstat (limited to 'testdata.json')
-rw-r--r-- | testdata.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testdata.json b/testdata.json index 0d8a4f3..8f28b30 100644 --- a/testdata.json +++ b/testdata.json @@ -15,7 +15,8 @@ [["text/plain", "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5"], 0.3], [["image/jpeg", "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5"], 0.5], [["text/html;level=2", "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5"], 0.4], - [["text/html;level=3", "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5"], 0.7] + [["text/html;level=3", "text/*;q=0.3, text/html;q=0.7, text/html;level=1, text/html;level=2;q=0.4, */*;q=0.5"], 0.7], + [["text/plain", "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"], 0.2] ], "best_match": [ @@ -30,8 +31,8 @@ [[["application/json", "text/html"], "application/json, text/html;q=0.9"], "application/json", "verify fitness ordering"], [[["image/*", "application/xml"], "image/png"], "image/*", "match using a type wildcard"], [[["image/*", "application/xml"], "image/*"], "image/*", "match using a wildcard for both requested and supported"], - [[["text/html", "application/rdf+xml"], "text/html, application/rdf+xml"], "application/rdf+xml", "match should use highest order of supported when there is a tie"], - [[["application/rdf+xml", "text/html"], "text/html, application/rdf+xml"], "text/html", "match should use highest order of supported when there is a tie"] + [[["text/html", "application/rdf+xml"], "text/html, application/rdf+xml"], "application/rdf+xml", "match should use highest order of supported when there is a tie"], + [[["application/rdf+xml", "text/html"], "text/html, application/rdf+xml"], "text/html", "match should use highest order of supported when there is a tie"] ], "parse_mime_type": [ |