Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool_cb_hdr: allow etag and content-disposition for 3xx reply #13484

Closed
wants to merge 1 commit into from

Commits on Jun 13, 2024

  1. tool_cb_hdr: allow etag and content-disposition for 3xx reply

    - Parse etag and content-disposition headers for 3xx replies.
    
    For example, a server may send a content-disposition filename header
    with a redirect reply (3xx) but not with the final response (2xx).
    Without this change curl would ignore the server's specified filename
    and continue to use the filename extracted from the user-specified URL.
    
    Prior to this change, 75d79a4 had limited etag and content-disposition
    to 2xx replies only.
    
    Tests-by: Daniel Stenberg
    
    Reported-by: Morgan Willcock
    
    Fixes curl#13302
    Closes #xxxx
    jay committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a940762 View commit details
    Browse the repository at this point in the history