mirror of
https://github.com/httpie/cli.git
synced 2025-01-10 00:28:12 +02:00
7f8adad313
This can help in diagnosing certain issues. For example, if I were trying to use a "http+unix" URL but I don't have #299, then I'll get the following: [marca@marca-mac2 httpie]$ http http+unix://%2Ftmp%2Fprofilesvc.sock/status/pid http: error: ConnectionError: ('Connection aborted.', gaierror(8, 'nodename nor servname provided, or not known')) while doing GET request to URL: http://http+unix//%2Ftmp%2Fprofilesvc.sock/status/pid Having the URL in the error message is super useful here so that I know an extra `http://` is getting prepended and it's not doing what I expected. |
||
---|---|---|
.. | ||
output | ||
plugins | ||
__init__.py | ||
__main__.py | ||
cli.py | ||
client.py | ||
compat.py | ||
config.py | ||
context.py | ||
core.py | ||
downloads.py | ||
input.py | ||
models.py | ||
sessions.py | ||
utils.py |