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

improvement: fallback to guessing error type from HTTP status code in HEAD requests #673

Open
wants to merge 5 commits into
base: v3-v2021-02-25
Choose a base branch
from

Conversation

SinusPi
Copy link

@SinusPi SinusPi commented Mar 14, 2022

Performs HTTP status code error guessing if "Content-Type: application/json" was received in header but had no valid error in body.

This supports valid error codes in HEAD responses.

saas786 and others added 5 commits September 28, 2021 18:04
- Base client class now accepts Http Adapter object as param.
- Add http adapter interface
… into v3-v2021-02-25:

- Added HttpAdapterInterface
…/guzzle' into v3-v2021-02-25:"

This reverts commit e20809e, reversing
changes made to d62bdf2.
…t-Type: application/json" was received in header.
@SinusPi SinusPi changed the title Fallback to guessing error type from HTTP status code in HEAD requests improvement: fallback to guessing error type from HTTP status code in HEAD requests Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants