diff options
author | Sam Bingner <sam@bingner.com> | 2020-05-26 08:28:55 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2020-07-17 00:22:23 -1000 |
commit | 11cd82291bb7a02cafbb271c8416f8b59e1f1413 (patch) | |
tree | 2485e90791abd6adeb207673885999d98f7ebc7e | |
parent | e2d24a94231d99011c402b7902f3a25df12ac1a3 (diff) |
Don't tell the server to set a cookie1.8.y+ios
-rw-r--r-- | methods/http.cc | 2 |
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); } } |