summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mimeparse.py1
-rw-r--r--testdata.json8
2 files changed, 8 insertions, 1 deletions
diff --git a/mimeparse.py b/mimeparse.py
index 0c09729..897b2df 100644
--- a/mimeparse.py
+++ b/mimeparse.py
@@ -1,5 +1,4 @@
import cgi
-from functools import reduce
__version__ = '1.5.2'
__author__ = 'Joe Gregorio'
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"
],