[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 179/220: CURLOPT_HEADERFUNCTION.3: clarify
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 179/220: CURLOPT_HEADERFUNCTION.3: clarify |
Date: |
Thu, 12 Sep 2019 17:28:59 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit ff2bbfb63747c13ee3c45503e06760adfe92ca2b
Author: Christopher Head <address@hidden>
AuthorDate: Tue Aug 27 20:01:25 2019 -0700
CURLOPT_HEADERFUNCTION.3: clarify
Closes #4273
---
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
index b5faa01de..d328d44c0 100644
--- a/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_HEADERFUNCTION.3
@@ -52,7 +52,7 @@ an error to the library. This will cause the transfer to get
aborted and the
libcurl function in progress will return \fICURLE_WRITE_ERROR\fP.
A complete HTTP header that is passed to this function can be up to
-\fICURL_MAX_HTTP_HEADER\fP (100K) bytes.
+\fICURL_MAX_HTTP_HEADER\fP (100K) bytes and includes the final line terminator.
If this option is not set, or if it is set to NULL, but
\fICURLOPT_HEADERDATA(3)\fP is set to anything but NULL, the function used to
@@ -67,6 +67,9 @@ negotiation. If you need to operate on only the headers from
the final
response, you will need to collect headers in the callback yourself and use
HTTP status lines, for example, to delimit response boundaries.
+For an HTTP transfer, the status line and the blank line preceding the response
+body are both included as headers and passed to this function.
+
When a server sends a chunked encoded transfer, it may contain a trailer. That
trailer is identical to an HTTP header and if such a trailer is received it is
passed to the application using this callback as well. There are several ways
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 148/220: curl: use .curlrc (with a dot) on Windows as well, (continued)
- [GNUnet-SVN] [gnurl] 148/220: curl: use .curlrc (with a dot) on Windows as well, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 163/220: scp: fix directory name length used in memcpy, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 176/220: HTTP3: switched openssl branch to use, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 172/220: build-openssl: fix build with Visual Studio 2019, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 170/220: KNOWN_BUGS: USE_UNIX_SOCKETS on Windows, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 174/220: http2: when marked for closure and wanted to close == OK, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 182/220: ngtcp2: on h3 stream close, call expire, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 177/220: travis: enable ngtcp2 builds again, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 185/220: RELEASE-NOTES: synced, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 160/220: defines: avoid underscore-prefixed defines, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 179/220: CURLOPT_HEADERFUNCTION.3: clarify,
gnunet <=
- [GNUnet-SVN] [gnurl] 181/220: ngtcp2: build latest ngtcp2 and ngtcp2_crypto_openssl, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 175/220: ngtcp2: Build with latest ngtcp2 and ngtcp2_crypto_openssl, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 187/220: quiche: expire when poll returned data, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 168/220: travis: disable ngtcp2 builds (temporarily), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 153/220: curl: make --libcurl use CURL_HTTP_VERSION_3, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 159/220: travis: add a build using ngtcp2 + nghttp3 (and a patched OpenSSL), gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 158/220: travis: bump to using nghttp2 version 1.39.2, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 178/220: CURLINFO docs: mention that in redirects times are added, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 190/220: CMake: remove needless newlines at end of gss variables, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 188/220: CMake: use platform dependent name for dlopen() library, gnunet, 2019/09/12