mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +03:00
headers: accept leading whitespaces on first response header
This is a bad header fold but since the popular browsers accept this violation, so does curl now. Unless built with hyper. Add test 1473 to verify and adjust test 2306. Reported-by: junsik on github Fixes #11605 Closes #11607
This commit is contained in:
parent
cfe85ca562
commit
95ca3c53d3
6 changed files with 97 additions and 33 deletions
|
|
@ -57,6 +57,7 @@ The hyper backend does not support
|
|||
- `--raw` and disabling `CURLOPT_HTTP_TRANSFER_DECODING`
|
||||
- RTSP
|
||||
- hyper is much stricter about what HTTP header contents it allows
|
||||
- leading whitespace in first HTTP/1 response header
|
||||
- HTTP/0.9
|
||||
- HTTP/2 upgrade using HTTP:// URLs. Aka 'h2c'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue