curl: make --etag-save acknowledge --create-dirs

Add test 693 to verify

Fixes #15730
Suggested-by: Tamir Duberstein
Closes #15732
This commit is contained in:
Daniel Stenberg 2024-12-21 11:45:28 +01:00
parent 3f8452dde7
commit 31c6b50cb2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 72 additions and 1 deletions

View file

@ -20,3 +20,6 @@ Save an HTTP ETag to the specified file. An ETag is a caching related header,
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.
Starting in curl 8.12.0, using the --create-dirs option can also create
missing directory components for the path provided in --etag-save.