Comments (5)
Yes, they should be sent as headers. Can you check if it works now?
from aws.
Unfortunately now it got worse, since S3 is not accepting my PutObject
. Actually the worst problem is that it's not returning an error and I didn't investigate yet on why this is happening by looking at what we're sending/receiving.
Just as a sanity check, this is what I'm doing:
S3.PutObject { S3.poObjectName = objectname
, S3.poBucket = bucket
, S3.poContentType = Just "image/png"
, S3.poCacheControl = Just "public"
, S3.poContentDisposition = Nothing
, S3.poContentEncoding = Nothing
, S3.poContentMD5 = Just (TE.decodeUtf8 $ B64.encode $ MD5.hash bs)
, S3.poExpires = Just 315576000000 -- 10 years
, S3.poAcl = Just S3.AclPublicRead
, S3.poStorageClass = Just S3.Standard
, S3.poRequestBody = HTTP.RequestBodyBS bs
, S3.poMetadata = []
}
from aws.
And what precisely is happening? What happens when you replace more of those Maybe fields with Nothing?
from aws.
The signing wasn't correct. Fixed on pull request #9. =)
from aws.
Fixed in pull request #9.
from aws.
Related Issues (20)
- Unnecessarily throws XmlException with missing user DisplayName HOT 5
- PutBucket versioning HOT 2
- add etag to PutObjectResponse
- add etag to GetBucketResponse HOT 1
- S3 Buckets with "." in the name cause TLS issues when running PutObject HOT 1
- v4 GetObject Signing HOT 5
- Support for network 3.x?
- DynamoDB conditions: Missing `attribute_not_exists`? HOT 2
- Json support for basic types
- `credentialsDefaultFile` references non-standard location
- Support HTTP and custom port in SES HOT 1
- SES no longer works HOT 2
- Build errors with aeson-2 HOT 3
- New maintainer or at least contributor HOT 8
- support unauthenticated S3 requests HOT 4
- Kinesis support
- HTTP2 support
- unable to specify a region for S3 servers not in AWS HOT 2
- unable to specify User-Agent
- software design 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.