[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 289/411: header.d: mention the "Transfer-Encoding: chunked" hand
From: |
gnunet |
Subject: |
[gnurl] 289/411: header.d: mention the "Transfer-Encoding: chunked" handling |
Date: |
Wed, 13 Jan 2021 01:21:44 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 1144886f38fd0811b29c9ea0f39133f47e7cc3fe
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Fri Oct 30 12:05:47 2020 +0100
header.d: mention the "Transfer-Encoding: chunked" handling
Ref: #6144
Closes #6148
---
docs/cmdline-opts/header.d | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/docs/cmdline-opts/header.d b/docs/cmdline-opts/header.d
index e84168996..ac02323b9 100644
--- a/docs/cmdline-opts/header.d
+++ b/docs/cmdline-opts/header.d
@@ -4,6 +4,7 @@ Arg: <header/@file>
Help: Pass custom header(s) to server
Protocols: HTTP
Category: http
+See-also: --user-agent --referer
---
Extra header to include in the request when sending HTTP to a server. You may
specify any number of extra headers. Note that if you should add a custom
@@ -18,17 +19,18 @@ as \-H \&"X-Custom-Header;" to send "X-Custom-Header:".
curl will make sure that each header you add/replace is sent with the proper
end-of-line marker, you should thus \fBnot\fP add that as a part of the header
-content: do not add newlines or carriage returns, they will only mess things up
-for you.
+content: do not add newlines or carriage returns, they will only mess things
+up for you.
-Starting in 7.55.0, this option can take an argument in @filename style, which
-then adds a header for each line in the input file. Using @- will make curl
-read the header file from stdin.
+This option can take an argument in @filename style, which then adds a header
+for each line in the input file. Using @- will make curl read the header file
+from stdin. Added in 7.55.0.
-See also the --user-agent and --referer options.
+You need --proxy-header to send custom headers intended for a HTTP
+proxy. Added in 7.37.0.
-Starting in 7.37.0, you need --proxy-header to send custom headers intended
-for a proxy.
+Passing on a "Transfer-Encoding: chunked" header when doing a HTTP request
+with a requst body, will make curl send the data using chunked encoding.
Example:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 229/411: HISTORY: curl verifies SSL certs by default since version 7.10, (continued)
- [gnurl] 229/411: HISTORY: curl verifies SSL certs by default since version 7.10, gnunet, 2021/01/12
- [gnurl] 219/411: docs/opts: fix typos in two manual pages, gnunet, 2021/01/12
- [gnurl] 201/411: MANUAL: update examples to resolve without redirects, gnunet, 2021/01/12
- [gnurl] 210/411: vtls: deduplicate some DISABLE_PROXY ifdefs, gnunet, 2021/01/12
- [gnurl] 248/411: urlapi: URL encode a '+' in the query part, gnunet, 2021/01/12
- [gnurl] 257/411: CURLOPT_NOBODY.3: fix typo, gnunet, 2021/01/12
- [gnurl] 256/411: CI/azure: improve on flakiness by avoiding libtool wrappers, gnunet, 2021/01/12
- [gnurl] 221/411: runtests: add %repeat[]% for test files, gnunet, 2021/01/12
- [gnurl] 294/411: header.d: fix syntax mistake, gnunet, 2021/01/12
- [gnurl] 333/411: docs: document the 8MB input string limit, gnunet, 2021/01/12
- [gnurl] 289/411: header.d: mention the "Transfer-Encoding: chunked" handling,
gnunet <=
- [gnurl] 297/411: tool_debug_cb: do not assume zero-terminated data, gnunet, 2021/01/12
- [gnurl] 311/411: curl.se: new home, gnunet, 2021/01/12
- [gnurl] 273/411: libssh2: fix build with disabled proxy support, gnunet, 2021/01/12
- [gnurl] 253/411: openssl: acknowledge SRP disabling in configure properly, gnunet, 2021/01/12
- [gnurl] 271/411: CI/appveyor: remove (unused) runtests.pl -b option, gnunet, 2021/01/12
- [gnurl] 268/411: cmake: set the unicode feature in curl-config on Windows, gnunet, 2021/01/12
- [gnurl] 270/411: tool_help: make "output" description less confusing, gnunet, 2021/01/12
- [gnurl] 275/411: range.d: clarify that curl will not parse multipart responses, gnunet, 2021/01/12
- [gnurl] 347/411: KNOWN_BUGS: cmake uses -lpthread instead of Threads::Threads, gnunet, 2021/01/12
- [gnurl] 353/411: quiche: remove 'static' from local buffer, gnunet, 2021/01/12