mirror of
https://github.com/curl/curl.git
synced 2026-08-02 16:50:29 +03:00
curl: return error if etag options are used with multiple URLs
And document it. Add tests 484 and 485 Fixes #15729 Reported-by: Tamir Duberstein Closes #15731
This commit is contained in:
parent
0439499170
commit
a300879b63
7 changed files with 113 additions and 6 deletions
|
|
@ -25,3 +25,5 @@ line with the 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 then
|
||||
use this option to compare against the saved ETag in a subsequent request.
|
||||
|
||||
Use this option with a single URL only.
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ Example:
|
|||
# `--etag-save`
|
||||
|
||||
Save an HTTP ETag to the specified file. An ETag is a caching related header,
|
||||
usually returned in a response.
|
||||
usually returned in a response. Use this option with a single URL only.
|
||||
|
||||
If no ETag is sent by the server, an empty file is created.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue