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
@ -49,6 +49,7 @@ over the wire with Hyper.
|
||||
The hyper backend doesn't support
|
||||
|
||||
- `CURLOPT_IGNORE_CONTENT_LENGTH`
|
||||
- `--raw` and disabling `CURLOPT_HTTP_TRANSFER_DECODING`
|
||||
- RTSP
|
||||
|
||||
## Remaining issues
|
||||
|
||||
@ -49,7 +49,8 @@ if(curl) {
|
||||
}
|
||||
.fi
|
||||
.SH AVAILABILITY
|
||||
Added in 7.16.2
|
||||
Added in 7.16.2 Does not work with the hyper backend (it will always have
|
||||
transfer decoding enabled).
|
||||
.SH RETURN VALUE
|
||||
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
|
||||
.SH "SEE ALSO"
|
||||
|
||||
@ -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:
|
||||
/*
|
||||
|
||||
@ -42,7 +42,6 @@
|
||||
%if hyper
|
||||
265
|
||||
266
|
||||
326
|
||||
357
|
||||
358
|
||||
359
|
||||
|
||||
@ -39,6 +39,9 @@ line 1
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
!hyper
|
||||
</features>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user