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

S3 - BUG - Meta Tags on PUT Command do not work #591

Open
pl4yradam opened this issue Feb 10, 2020 · 1 comment
Open

S3 - BUG - Meta Tags on PUT Command do not work #591

pl4yradam opened this issue Feb 10, 2020 · 1 comment
Labels

Comments

@pl4yradam
Copy link

Using serverless-s3-local
I encountered this problem please see below, It has been noted that s3rver can't handle this?
ar90n/serverless-s3-local#89

@kherock
Copy link
Collaborator

kherock commented Jun 10, 2020

Is this still causing problems? I'm not sure how to reproduce your issue. We do already have a test covering this behavior that seems similar to what you're trying to accomplish:

it('adds x-amz-meta-* metadata specified via query parameters', async function() {
const url = s3Client.getSignedUrl('putObject', {
Bucket: 'bucket-a',
Key: 'mykey',
Metadata: {
somekey: 'value',
},
});
await request.put(url, { body: 'Hello!' });
const object = await s3Client
.headObject({
Bucket: 'bucket-a',
Key: 'mykey',
})
.promise();
expect(object.Metadata).to.have.property('somekey', 'value');
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants