mirror of
https://github.com/curl/curl.git
synced 2026-07-24 10:17:21 +03:00
now sends cookies space separated to better work with IIS4.0 servers
This commit is contained in:
parent
d7703aa653
commit
2ad8ed7771
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue