1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

docs: fix typos and markup in ETag manpage sections

Reported-by: emanruse on github
Fixes #6273
This commit is contained in:
Daniel Gustafsson 2020-12-03 13:25:42 +01:00
parent 26f682bcc4
commit 41b3b830f1
2 changed files with 3 additions and 3 deletions

View File

@ -15,5 +15,5 @@ line with a desired ETag. An empty file is parsed as an empty ETag.
Use the option --etag-save to first save the ETag from a response, and Use the option --etag-save to first save the ETag from a response, and
then use this option to compare using the saved ETag in a subsequent request. then use this option to compare using the saved ETag in a subsequent request.
\fCOMPARISON\fP: There are 2 types of comparison or ETags, Weak and Strong. \fBCOMPARISON\fP: There are 2 types of comparison or ETags: Weak and Strong.
This option expects, and uses a strong comparison. This option expects, and uses a strong comparison.

View File

@ -10,8 +10,8 @@ usually part of headers returned by a request. When server sends an
ETag, it must be enveloped by a double quote. This option extracts the ETag, it must be enveloped by a double quote. This option extracts the
ETag without the double quotes and saves it into the <file>. ETag without the double quotes and saves it into the <file>.
A server can send a week ETag which is prefixed by "W/". This identifier A server can send a weak ETag which is prefixed by "W/". This identifier
is not considered, and only relevant ETag between quotation marks is parsed. is not considered, and only relevant ETag between quotation marks is parsed.
It an ETag wasn't send by the server or it cannot be parsed, and empty It an ETag wasn't sent by the server or it cannot be parsed, an empty
file is created. file is created.