projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb856b0
)
now sends user agent to all requests that go through a http proxy
author
Daniel Stenberg
<daniel@haxx.se>
Sat, 8 Apr 2000 19:29:58 +0000
(19:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 8 Apr 2000 19:29:58 +0000
(19:29 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
1b1607f
..
6211f94
100644
(file)
--- 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);
}