curl 2020-08-19 (9d954e49)

Code extracted from:

    https://github.com/curl/curl.git

at commit 9d954e49bce3706a9a2efb119ecd05767f0f2a9e (curl-7_72_0).
This commit is contained in:
Curl Upstream
2020-08-19 09:37:28 +02:00
committed by Brad King
parent 4446fda8e0
commit 7ceb56989f
55 changed files with 940 additions and 416 deletions
+2
View File
@@ -274,6 +274,8 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
if(data->set.opt_no_body)
/* in HTTP lingo, no body means using the HEAD request... */
data->set.method = HTTPREQ_HEAD;
else if(data->set.method == HTTPREQ_HEAD)
data->set.method = HTTPREQ_GET;
break;
case CURLOPT_FAILONERROR:
/*