Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Support proxy digest authentication #221

thekvs opened this Issue · 4 comments

2 participants


As far as I can see httpie doesn't support authentication on proxies. It would be nice to have such feature.


Actually, HTTPie does support that, e.g.:

$ http --proxy=http:http://user:pass@

Well, it seems that HTTPS case is a bit different:

$ http --proxy https: --auth-type digest --auth user:password

http: error: ProxyError: Cannot connect to proxy. Socket error: Tunnel connection failed: 407 Proxy Authentication Required.

Well, with digest auth. method and HTTP remote site it looks like this:

$ http --proxy=http: --auth-type digest --auth user:password
HTTP/1.1 407 Proxy Authentication Required
Content-Length: 33
Content-Type: text/plain; charset=utf-8
Date: Tue, 13 May 2014 12:33:32 GMT
Proxy-Authenticate: Digest realm="proxy", qop=auth, nonce="500142b5805f0fe164212626db64fde3"

407 Proxy Authentication Required

I see.

Normally it would be:

$ http --proxy https:

But that uses basic auth. So the problem is that HTTPie doesn't allow you to specify the auth type the proxy uses.

@jakubroztocil jakubroztocil reopened this
@jakubroztocil jakubroztocil added feature and removed question labels
@jakubroztocil jakubroztocil changed the title from support proxy authentication to support proxy digest authentication
@jakubroztocil jakubroztocil changed the title from support proxy digest authentication to Support proxy digest authentication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.