8000 Simulate S3 BadDigest and InvalidDigest errors · Issue #2562 · localstack/localstack · GitHub
[go: up one dir, main page]

Skip to content
Simulate S3 BadDigest and InvalidDigest errors #2562
Closed
@charleswhchan

Description

@charleswhchan

Type of request: This is a ...

[ ] bug report
[x] feature request

Detailed description

As a Developer,
I want to be able to simulate BadDigest and InvalidDigest errors,
So that I can test the error handling logic

Expected behavior

https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
BadDigest: The Content-MD5 you specified did not match what we received.
InvalidDigest: The Content-MD5 you specified is not valid.

Actual behavior

localstack returns InvalidDigest when MD5 does not match payload.

Metadata

Metadata

Labels

aws:s3Amazon Simple Storage Servicestatus: resolved/fixedResolved with a fix or an implementationtype: bugBug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0