]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
header.md: remove backslash, make nicer markdown
authorDaniel Stenberg <daniel@haxx.se>
Tue, 6 Feb 2024 10:20:30 +0000 (11:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 6 Feb 2024 12:07:02 +0000 (13:07 +0100)
- remove a leftover backslash before a dash
- use backticks for "code" strings

Closes #12877

docs/cmdline-opts/header.md

index 835ee61c87922472d286458c9a06354ab5edbb5a..13ca4cb322117be591794787d5fd86f0f8b413fe 100644 (file)
@@ -34,9 +34,9 @@ use, your externally set header is used instead of the internal one. This
 allows you to make even trickier stuff than curl would normally do. You should
 not replace internally set headers without knowing perfectly well what you are
 doing. Remove an internal header by giving a replacement without content on
-the right side of the colon, as in: -H "Host:". If you send the custom header
-with no-value then its header must be terminated with a semicolon, such as \-H
-"X-Custom-Header;" to send "X-Custom-Header:".
+the right side of the colon, as in: -H `Host:`. If you send the custom 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 makes sure that each header you add/replace is sent with the proper
 end-of-line marker, you should thus **not** add that as a part of the header
@@ -49,7 +49,7 @@ for each line in the input file. Using @- makes curl read the header file from
 stdin. Added in 7.55.0.
 
 Please note that most anti-spam utilities check the presence and value of
-several MIME mail headers: these are "From:", "To:", "Date:" and "Subject:"
+several MIME mail headers: these are `From:`, `To:`, `Date:` and `Subject:`
 among others and should be added with this option.
 
 You need --proxy-header to send custom headers intended for an HTTP