1
0
mirror of https://github.com/httpie/cli.git synced 2025-07-15 01:34:27 +02:00

Fixed multipart requests output; binary support.

* Bodies of multipart requests are correctly printed (closes #30).
* Binary requests and responses should always work (they are also suppressed
  for terminal output). So things like this work::

     http www.google.com/favicon.ico > favicon.ico
This commit is contained in:
Jakub Roztocil
2012-07-28 05:45:44 +02:00
parent a8ddb8301d
commit 098e1d3100
7 changed files with 279 additions and 158 deletions

View File

@ -51,9 +51,10 @@ group_type.add_argument(
#############################################
parser.add_argument(
'--traceback', action='store_true', default=False,
'--debug', action='store_true', default=False,
help=_('''
Print exception traceback should one occur.
Prints exception traceback should one occur and other
information useful for debugging HTTPie itself.
''')
)