mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +03:00
hyper: does not support disabling CURLOPT_HTTP_TRANSFER_DECODING
Simply because hyper doesn't have this ability. Mentioned in docs now. Skip test 326 then Closes #7889
This commit is contained in:
parent
f852f908a9
commit
1732502cb0
5 changed files with 10 additions and 2 deletions
|
|
@ -2516,8 +2516,12 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
/*
|
||||
* disable libcurl transfer encoding is used
|
||||
*/
|
||||
#ifndef USE_HYPER
|
||||
data->set.http_te_skip = (0 == va_arg(param, long)) ? TRUE : FALSE;
|
||||
break;
|
||||
#else
|
||||
return CURLE_NOT_BUILT_IN; /* hyper doesn't support */
|
||||
#endif
|
||||
|
||||
case CURLOPT_HTTP_CONTENT_DECODING:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue