On Mon, 22 Sep 2008 09:38:57 -0400, Robert Hancock <[EMAIL PROTECTED]> wrote:
On Mon, Sep 22, 2008 at 4:57 AM, Phil Mayers <[EMAIL PROTECTED]> wrote:

If I run this against a password protected HTTP(S) site from a host
that has direct access to the Internet it works fine.  I now have to
move it behind a proxy that requires authentication.  The Twisted
documentation did not make it clear (to me) how to add proxy
authentication and I cannot find an example on the Internet.

I've tried adding an additional Proxy-Authentication header to the
call, but that doesn't help  Any ideas would be greatly appreciated.

"Didn't help" how? What didn't work?

What kind of proxy is it?


Didn't help in that I receive an HTTP 407 Proxy Authentication required.

It is a proxy that requires Basic HTTP authentication.


Maybe you meant to add the "Proxy-Authenticate" header instead of the
"Proxy-Authentication" header?

Twisted Web provides no particular support for authenticating with proxies,
but it doesn't do anything that would prevent you from handling this in your
code, either.

Jean-Paul

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to