Fixed AttributeError in Content-Type vendor removal.

This commit is contained in:
Jakub Roztocil 2012-07-17 01:11:43 +02:00
parent 16a7d0a719
commit 2d7df0afb4

View File

@ -19,7 +19,7 @@ FORMATTER = (Terminal256Formatter
if '256color' in os.environ.get('TERM', '')
else TerminalFormatter)
application_content_type_re = re.compile(r'application/(.+\+)?(json|xml)$')
application_content_type_re = re.compile(r'application/(.+\+)(json|xml)$')
class PrettyHttp(object):