diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-22 11:06:20 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-22 11:17:53 +0100 |
commit | 346694594cb6806b3d5379d50b6302c3222193c5 (patch) | |
tree | f523b6783dfb9ed277a240d0de9ec913141a8d43 /docs/cmdline-opts/header.d | |
parent | c915662485f8fe1e32351a8f83a4a5fe76b5bd08 (diff) | |
download | curl-346694594cb6806b3d5379d50b6302c3222193c5.tar.gz |
docs: make gen.pl support *italic* and **bold**bagder/gen-formatting
Remove some nroffisms from the cmdline doc files to simplify editing,
and instead support this markdown style.
Diffstat (limited to 'docs/cmdline-opts/header.d')
-rw-r--r-- | docs/cmdline-opts/header.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/header.d b/docs/cmdline-opts/header.d index 980467d5b..121285ae3 100644 --- a/docs/cmdline-opts/header.d +++ b/docs/cmdline-opts/header.d @@ -18,7 +18,7 @@ header with no-value then its header must be terminated with a semicolon, such 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 +end-of-line marker, you should thus **not** add that as a part of the header content: do not add newlines or carriage returns, they will only mess things up for you. @@ -36,7 +36,7 @@ Example: curl -H "X-First-Name: Joe" http://example.com/ -\fBWARNING\fP: headers set with this option will be set in all requests - even +**WARNING**: headers set with this option will be set in all requests - even after redirects are followed, like when told with --location. This can lead to the header being sent to other hosts than the original host, so sensitive headers should be used with caution combined with following redirects. |