summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-03-13 09:11:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-03-13 09:11:54 +0000
commit2ad8ed777138834202a7cad9336b60bb50d026cc (patch)
tree97b638a42b45366f6108ad4278032404559b2641
parentd7703aa653f6292311a56ed7df124f497ff7c7ad (diff)
downloadgnurl-2ad8ed777138834202a7cad9336b60bb50d026cc.tar.gz
gnurl-2ad8ed777138834202a7cad9336b60bb50d026cc.tar.bz2
gnurl-2ad8ed777138834202a7cad9336b60bb50d026cc.zip
now sends cookies space separated to better work with IIS4.0 servers
-rw-r--r--lib/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index bf89d97b0..7bbf13b7a 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -232,11 +232,11 @@ UrgError http(struct UrlData *data, char *ppath, char *host, long *bytecount)
if(co->value && strlen(co->value)) {
if(0 == count) {
sendf(data->firstsocket, data,
- "Cookie: ");
+ "Cookie:");
}
count++;
sendf(data->firstsocket, data,
- "%s=%s;", co->name, co->value);
+ " %s=%s;", co->name, co->value);
}
co = co->next; /* next cookie please */
}