Comments (5)
In looking around a little more it looks like in s3.api.js the copyObject definition doesn't specify including all of the headers that a standard putObject request does which should address the first problem I was seeing of metadata not being included.
from aws-sdk-js.
I was able to work around the Transfer-Encoding issue with this little hack in http.js handleRequest right after the options object is created:
if ((options.method === 'PUT') && (!request.body)) {
if (!options.headers) {
options.headers = {};
}
if (!options.headers['Content-Length']) {
options.headers['Content-Length'] = 0;
}
}
This would need to be cleaned up to be a general solution to the problem.
from aws-sdk-js.
The above commit should fix the copyObject method failing outright; it does not address the other part of your issue, though (still working on that one).
from aws-sdk-js.
The missing headers should have been addressed in commit 362ed44. I was able to use the latest (unreleased) code to perform a copy object. This should go out with our next release.
from aws-sdk-js.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
from aws-sdk-js.
Related Issues (20)
- S3 - CompleteMultiPartUpload HOT 1
- LakeFormation listPermissions returns abnormal result
- SageMaker ListDevices in us-west-1 "This operation is not supported in this region" HOT 2
- AWS Batch API - ListJobs response missing 'statusReason' when request params include 'filters' HOT 2
- AWS.SsoCredentials is not a constructor HOT 1
- Error in AWS SDK and Usage Guide for Content Moderation version 7 HOT 4
- For this specific case, an empty profile is passed in configFileSelector HOT 3
- AWS SDK for JavaScript v2 Upcoming End-of-Support
- issue in installing [email protected] HOT 3
- Could we recommend developers to install `@aws-sdk/client-ses` directly? We now need to install `aws-sdk` first, then migrate from v2 to v3 with `aws-sdk-js-codemod`. HOT 2
- (short issue description) HOT 2
- Cognito: UserNotConfirmedException before NotAuthorized HOT 2
- Service: AmazonSimpleEmailService; Status Code: 403 HOT 4
- How to pass filter params for custom filter parameters to quicksightClient.generateEmbedUrlForRegisteredUser() HOT 2
- Using useFipsEndpoint to true for Kinesis Client in Gov region builds incorrect fips-endpoint URL HOT 1
- Missing `ec2/paginateDescribeVpcEndpointServices` method HOT 2
- AWS Data api gives error when running queries concurrently in a transaction HOT 4
- I want to use Lambda with the event sources SQS & API Gateway with SDKv3 and without a SDKv2 dependency HOT 1
- Announcement link in V2 EOL banner doesn't work HOT 2
- MediaConnect addFlowOutputs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-js.