diff --git a/src/httpc.c b/src/httpc.c index 30327afd4f9a0af195ce47af13c5d063c6b914d7..43f425c4bd338560f818be651d6a347c84eca76f 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -214,6 +214,8 @@ httpc_request_new(struct httpc_env *env, const char *method, curl_easy_header_cb); curl_easy_setopt(req->curl_request.easy, CURLOPT_NOPROGRESS, 1L); curl_easy_setopt(req->curl_request.easy, CURLOPT_NOSIGNAL, 1L); + curl_easy_setopt(req->curl_request.easy, CURLOPT_HTTP_VERSION, + CURL_HTTP_VERSION_1_1); ibuf_create(&req->send, &cord()->slabc, 1);