mirror of https://github.com/moparisthebest/curl
support sending off cookies without contents
This commit is contained in:
parent
168703b7bf
commit
2dd1518d63
|
@ -1030,7 +1030,7 @@ CURLcode Curl_http(struct connectdata *conn)
|
||||||
struct Cookie *store=co;
|
struct Cookie *store=co;
|
||||||
/* now loop through all cookies that matched */
|
/* now loop through all cookies that matched */
|
||||||
while(co) {
|
while(co) {
|
||||||
if(co->value && strlen(co->value)) {
|
if(co->value) {
|
||||||
if(0 == count) {
|
if(0 == count) {
|
||||||
add_bufferf(req_buffer, "Cookie: ");
|
add_bufferf(req_buffer, "Cookie: ");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue