now sends cookies space separated to better work with IIS4.0 servers
authorDaniel Stenberg <daniel@haxx.se>
Mon, 13 Mar 2000 09:11:54 +0000 (09:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 13 Mar 2000 09:11:54 +0000 (09:11 +0000)
lib/http.c

index bf89d97..7bbf13b 100644 (file)
@@ -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 */
       }