From d9392268131c1b8d18dec3fa30e0bded833a5db7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 16 Feb 2018 12:11:23 +0100 Subject: CURLOPT_HEADERFUNCTION.3: mention folded headers --- docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/libcurl/opts') diff --git a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 index b8596d8fd..d0be953a0 100644 --- a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -74,6 +74,11 @@ the trailer. For non-HTTP protocols like FTP, POP3, IMAP and SMTP this function will get called with the server responses to the commands that libcurl sends. +.SH LIMITATIONS +libcurl does not unfold HTTP "folded headers" (deprecated since RFC 7230). A +folder header is a header that continues on a subsequent line and starts with +a whitespace. Such folds will be passed to the header callback as a separate +one, although strictly it is just a continuation of the previous line. .SH DEFAULT Nothing. .SH PROTOCOLS -- cgit v1.2.3