mirror of
https://github.com/curl/curl.git
synced 2026-07-20 10:07:17 +03:00
CURLOPT_HEADERFUNCTION.md: document folded header unfolding
Fixes #22296 Closes #22297
This commit is contained in:
parent
b940cb1566
commit
fa246bf7f2
1 changed files with 5 additions and 4 deletions
|
|
@ -92,10 +92,11 @@ curl_easy_header(3).
|
|||
|
||||
# LIMITATIONS
|
||||
|
||||
libcurl does not unfold HTTP "folded headers" (deprecated since RFC 7230). A
|
||||
folded header is a header that continues on a subsequent line and starts with
|
||||
a whitespace. Such folds are passed to the header callback as separate ones,
|
||||
although strictly they are continuations of the previous lines.
|
||||
For legacy HTTP/1 "folded headers" (deprecated since RFC 7230), libcurl
|
||||
unfolds the lines before calling the header callback. A folded header is a
|
||||
header that continues on a subsequent line and starts with whitespace. The
|
||||
callback gets the full single header with one whitespace between the lines.
|
||||
This unfolding is done since 8.18.0.
|
||||
|
||||
# DEFAULT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue