summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 94c017d2a..ab62ee20c 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -365,7 +365,7 @@ int HttpMethod::Loop()
size_t cookie_len = strlen(cookie);
CFStringRef cookieString = CFStringCreateWithBytesNoCopy(kCFAllocatorDefault, (unsigned char *)cookie, cookie_len, kCFStringEncodingUTF8, false, kCFAllocatorDefault);
if (cookieString) {
- CFHTTPMessageSetHeaderFieldValue(hm, CFSTR("Set-Cookie"), cookieString);
+ CFHTTPMessageSetHeaderFieldValue(hm, CFSTR("Cookie"), cookieString);
CFRelease(cookieString);
}
}