mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Improved --debug output
This commit is contained in:
1 parent
4e574e6b8e
commit
bb49a1f979
7 files changed
+42
-6
No files matched your search
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user