cURL / Mailing Lists / curl-library / Single Mail

curl-library

http_proxy variable

From: Andres Garcia <fandom_at_retemail.es>
Date: Wed, 31 Mar 2004 11:46:51 +0200

Hi,

I have been trying to see why test 63, HTTP with proxy authorization set
in environment, fails in msys, mainly it seems to be because the
enviromental
variable doesn't get set right.

While running the test by hand, setting the variable myself to
 http://fake:user@127.0.0.1:8999/ and then invoking curl, I got
the following:

src/curl --output tests/log/curl63.out --include -v
http://we.want.that.site
.com/63
* About to connect() to 127.0.0.1 port 8999
* Connected to 127.0.0.1 (127.0.0.1) port 8999
* Proxy auth using Basic with user 'http'
> GET http://we.want.that.site.com/63 HTTP/1.1
Proxy-authorization: Basic aHR0cDovL2Zha2U6dXNlcg==
User-Agent: curl/7.11.0-CVS (i686-pc-mingw32) libcurl/7.11.0-CVS zlib/1.2.1
Host: we.want.that.site.com
Pragma: no-cache
Accept: */*
[...]
* Connection #0 left intact
* Closing connection #0

That "user 'http'" is wrong, isn't it?

Andres
Received on 2004-03-31