Improved --debug output

This commit is contained in:
Jakub Roztocil committed 2016-03-05 01:42:48 +08:00
1 parent 4e574e6b8e
commit bb49a1f979
7 files changed
+42 -6

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ from httpie import __version__
from httpie.compat import str
from httpie.input import SSL_VERSION_ARG_MAPPING
from httpie.plugins import plugin_manager
from httpie.utils import repr_dict_nice
try:
# https://urllib3.readthedocs.org/en/latest/security.html
@@ -82,7 +82,7 @@ def get_response(args, config_dir):
def dump_request(kwargs):
sys.stderr.write('\n>>> requests.request(**%s)\n\n'
% pformat(kwargs))
% repr_dict_nice(kwargs))
def encode_headers(headers):