From 75cd7f482d9cebe0169c8a8b82203d2d7cf65a9f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 8 Apr 2000 19:29:58 +0000 Subject: now sends user agent to all requests that go through a http proxy --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 1b1607fd1..6211f9470 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1109,7 +1109,7 @@ static UrgError _urlget(struct UrlData *data) data->ptr_proxyuserpwd = maprintf("Proxy-authorization: Basic %s\015\012", authorization); } - if(data->conf & (CONF_HTTPS|CONF_HTTP)) { + if(data->conf & (CONF_HTTPS|CONF_HTTP|CONF_PROXY)) { if(data->useragent) { data->ptr_uagent = maprintf("User-Agent: %s\015\012", data->useragent); } -- cgit v1.2.3