Skip to content

Fix InvalidRange error code#3044

Open
nikeee wants to merge 1 commit intoadobe:mainfrom
nikeee:fix-invalid-range-code
Open

Fix InvalidRange error code#3044
nikeee wants to merge 1 commit intoadobe:mainfrom
nikeee:fix-invalid-range-code

Conversation

@nikeee
Copy link
Copy Markdown
Contributor

@nikeee nikeee commented Apr 29, 2026

Description

Invlaid http ranges should return status code 416 and error code InvalidRange https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

38b1e29 fixed the response for invalid ranges. c99a0ec introduced a regression by changing the error code to the name of the HTTP status code.

  • I have signed the CLA.
  • I have written tests and verified that they fail without my change.
  • I have run make format to fix code style.
  • I have updated CHANGELOG.md (if applicable).
  • I have updated documentation (if applicable).

Invlaid http ranges should return status code 416 and error code `InvalidRange`
https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

38b1e29 fixed the response for invalid ranges.
c99a0ec introduced a regression by changing the error code to the name of the HTTP status code.
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.

1 participant