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

Fix exception not created from HEAD requests #1724

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

jderusse
Copy link
Member

fix #1723

IIUC the manifest, all errors are "linked" to a httpStatusCode, but we don't check it.

We might need a deep refactor that:

  • check for the list of exceptions by HTTP status
  • if the response doesn't have a body, and we have a single exception available for the httpStatus code, then we can use it.

any opinion?

@stof
Copy link
Member

stof commented Jun 11, 2024

The CI failure on PHP 8.4 is because of deprecations triggered by PHP in the symfony/polyfill code. This is solved in symfony/polyfill#467 but not released yet

@stof
Copy link
Member

stof commented Jun 11, 2024

And the root tests were broken by #1722 which has been merged with a failing CI

@jderusse jderusse force-pushed the exception-withoutbody branch 2 times, most recently from af34a76 to 4c81482 Compare June 12, 2024 08:10
@stof
Copy link
Member

stof commented Jun 12, 2024

For the failure in root tests, I opened #1726 to fix it.

@jderusse
Copy link
Member Author

For the failure in root tests, I opened #1726 to fix it.

tests are green except for 8.4 because of deprecation in polyfill

@jderusse jderusse merged commit d0f09bb into async-aws:master Jun 13, 2024
15 of 16 checks passed
@jderusse jderusse deleted the exception-withoutbody branch June 13, 2024 10:07
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.

async-aws/s3 does not properly throw a NoSuchKey error for invalid keys in headObject
2 participants