We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee55703 + 959dfcf commit a35138aCopy full SHA for a35138a
remote-curl.c
@@ -446,12 +446,12 @@ static int post_rpc(struct rpc_state *rpc)
446
447
headers = curl_slist_append(headers, rpc->hdr_content_type);
448
headers = curl_slist_append(headers, rpc->hdr_accept);
449
+ headers = curl_slist_append(headers, "Expect:");
450
451
if (large_request) {
452
/* The request body is large and the size cannot be predicted.
453
* We must use chunked encoding to send it.
454
*/
- headers = curl_slist_append(headers, "Expect:");
455
headers = curl_slist_append(headers, "Transfer-Encoding: chunked");
456
rpc->initial_buffer = 1;
457
curl_easy_setopt(slot->curl, CURLOPT_READFUNCTION, rpc_out);
0 commit comments