Re: Basic Authentication

On Thu, 2 Oct 2003, Denero Watz wrote:

>    I am a newbie to HTTP and writing an http client application. I
> need to authenticate to a server which is protected by basic
> authentication. But to connect to the original server I need to
> connect to a proxy which is also protected by basic authentication.

Try using Proxy-Authorization header for proxy authnetication and
Authorization header for the origin server authentication. Please see
RFC 2617 - HTTP Authentication: Basic and Digest Access Authentication
for details: http://www.faqs.org/rfcs/rfc2617.html

Alex.

-- 
                            | HTTP performance - Web Polygraph benchmark
www.measurement-factory.com | HTTP compliance+ - Co-Advisor test suite
                            | all of the above - PolyBox appliance

Received on Thursday, 2 October 2003 15:50:38 UTC