You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to call the GetObjectaction with the lower limit of the range greater than the object size, the gateway returns a successful response.
To Reproduce
aws s3api create-bucket --bucket test
// my-file should be no more than 100 bytes long
aws s3api put-object --bucket test --key obj --body my-file
// The lower limit of the range(100) should be greater than the <my-file> size (50)
aws s3api get-object --bucket test --key obj --range bytes=100-200 obj
Expected behavior
The action should return the InvalidRange error.
An error occurred (InvalidRange) when calling the GetObject operation: The requested range is not satisfiable
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to call the
GetObject
action with the lower limit of the range greater than the object size, the gateway returns a successful response.To Reproduce
Expected behavior
The action should return the
InvalidRange
error.The text was updated successfully, but these errors were encountered: