diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-04-08 19:29:58 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-04-08 19:29:58 +0000 |
commit | 75cd7f482d9cebe0169c8a8b82203d2d7cf65a9f (patch) | |
tree | 37a19a49d688e5c57fb51970dbd6d422bf3b84aa /lib/url.c | |
parent | eb856b04fee26345ea0c2addb19c3d97a847e931 (diff) |
now sends user agent to all requests that go through a http proxy
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |