Skip to content

Feature request: easier access to ETag in the curl CLI #4277

Closed
@paulehoffman

Description

@paulehoffman

It would be useful if there was a one-step way in the curl CLI to get the ETag header from one request and be able to feed it directly to the next request, with curl using the If-None-Match header. This would probably involve two new options, and might look like:

# curl -O --save-etag my-etag-file https://myurl
# curl -O --compare-etag my-etag-file https://myurl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions