mirror of
https://github.com/httpie/cli.git
synced 2025-02-16 17:40:51 +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', '')
|
if '256color' in os.environ.get('TERM', '')
|
||||||
else TerminalFormatter)
|
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):
|
class PrettyHttp(object):
|
||||||
|
Loading…
Reference in New Issue
Block a user