cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_PROXYUSERPWD

From: Jörg Müller-Tolk <curl_at_mueller-tolk.de>
Date: Thu, 25 Sep 2003 09:58:36 +0200

Jerry G. Chiuan wrote:

>I use CURLOPT_PROXYUSERPWD for my proxy authenticaiton.
>however, I found my app keeps retrying and the proxy keeps returning "Proxy
>Authentication Required"
>I also found that the app never sends out "username:passwd"
>( I use sniffer to capture all packets to debug )
>
Squid uses BASIC authentification. You will see the username:passwd only
Base64 encoded.
Lookup for a line with the header-tag "Authorization:"
Authorization: Basic <Base64>

Joerg M-T

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-25