You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
In [3]: mimeparse.parse_mime_type("text/html, image/gif, image/jpeg, *; q=.2,
*/*; q=.2")
What is the expected output? What do you see instead?
In [3]: mimeparse.parse_mime_type("text/html, image/gif, image/jpeg, *; q=.2,
*/*; q=.2")
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/tmp/<ipython console> in <module>()
/tmp/mimeparse.py in parse_mime_type(mime_type)
36 # Turn it into a legal wildcard.
37 if full_type == '*': full_type = '*/*'
---> 38 (type, subtype) = full_type.split("/")
39 return (type.strip(), subtype.strip(), params)
40
ValueError: too many values to unpack
What version of the product are you using? On what operating system?
1.3
Please provide any additional information below.
https://bitbucket.org/benoitc/django-authopenid/issue/54/type-subtype-parts-0-sp
lit-valueerror-too#comment-483268
Original issue reported on code.google.com by [email protected] on 20 May 2011 at 10:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 20 May 2011 at 10:08The text was updated successfully, but these errors were encountered: