1
0
mirror of https://github.com/httpie/cli.git synced 2026-04-24 19:53:55 +02:00
Files
httpie-cli/httpie
Marc Abramowitz 7f8adad313 Print info about request on error
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.
2015-02-15 23:22:52 -08:00
..
2015-02-14 22:51:31 +01:00
2015-02-05 15:55:20 +01:00
2015-02-07 17:04:33 +01:00
2015-01-23 23:54:27 +01:00
2015-02-15 23:22:52 -08:00
2014-07-18 13:39:47 +02:00
2015-02-07 16:31:42 +01:00