Differences From:
File
src/http.c
part of check-in
[ee47021f51]
- Support usernames containing spaces for the xfer protocol.
Ticket 71c9b46198c04.
by
drh on
2009-09-10 14:07:54.
[view]
To:
File
src/http.c
part of check-in
[7a2c37063a]
- merge trunk into creole branch
by
bob on
2009-09-22 07:49:39.
Also file
src/http.c
part of check-in
[9e274a2e7b]
- Update the proxy handler so that it supports basic authorization.
by
drh on
2009-09-12 21:53:24.
[view]
@@ -91,8 +91,11 @@
}else{
zSep = "/";
}
blob_appendf(pHdr, "POST %s%sxfer HTTP/1.1\r\n", g.urlPath, zSep);
+ if( g.urlProxyAuth ){
+ blob_appendf(pHdr, "Proxy-Authorization: %s\n", g.urlProxyAuth);
+ }
blob_appendf(pHdr, "Host: %s\r\n", g.urlHostname);
blob_appendf(pHdr, "User-Agent: Fossil/" MANIFEST_VERSION "\r\n");
if( g.fHttpTrace ){
blob_appendf(pHdr, "Content-Type: application/x-fossil-debug\r\n");