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

Curl#curl_headers: Work with 56 exit_status #18279

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 7, 2024

  1. Curl#curl_headers: Work with 56 exit_status

    I previously added the 8 curl exit code (weird server reply) to the
    list of non-success exit codes that `#curl_headers` will handle.
    We're now seeing failures with a 56 exit code (failure in receiving
    network data), where the server returns a 4xx response for a `HEAD`
    request but the same request using `GET` works as expected (e.g.,
    casks like `beeper`, `get-api`, `odrive`, `ui`, etc.).
    
    This adds 56 to the list of exit codes in `#curl_headers`, so a
    response with a 4xx HTTP status will be automatically retried using
    `GET`.
    samford committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    c2f0bac View commit details
    Browse the repository at this point in the history