mirror of
https://github.com/httpie/cli.git
synced 2024-11-21 23:33:12 +01:00
Fixed AttributeError in Content-Type vendor removal.
This commit is contained in:
parent
16a7d0a719
commit
2d7df0afb4
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user