You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-26 00:31:53 +02:00
Fixed AttributeError in Content-Type vendor removal.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user