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

Files API: provided content-type ignored in AWS S3 configuration #69

Closed
Maxim-Gadalov opened this issue Nov 29, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Maxim-Gadalov
Copy link
Contributor

Maxim-Gadalov commented Nov 29, 2023

Unable to store file with provided content-type for AWS S3 installation.

8:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> PUT <URL> HTTP/1.1
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Expect: 100-continue
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Content-Encoding: aws-chunked
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> x-amz-decoded-content-length: 21
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Content-Length: 194
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Content-Type: application/json
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Host: <HOST_URL>
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> x-amz-content-sha256: STREAMING-AWS4-HMAC-SHA256-PAYLOAD
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> X-Amz-Date: 20231129T170850Z
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Content-Type: application/json
18:08:51.454 [vert.x-worker-thread-0] DEBUG jclouds.headers -- >> Content-Length: 194
 
18:08:52.087 [vert.x-worker-thread-0] DEBUG org.jclouds.http.internal.JavaUrlHttpCommandExecutorService -- Receiving response -1651597941: HTTP/1.1 200 OK
18:08:52.088 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << HTTP/1.1 200 OK
18:08:52.088 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << Server: AmazonS3
18:08:52.088 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << ETag: "fe833813321ee468c89935124ebc4d43"
18:08:52.089 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << x-amz-request-id: Z16VVKCRSPFW953R
18:08:52.089 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << x-amz-server-side-encryption: AES256
18:08:52.089 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << x-amz-id-2: gxHvzpAu7VnSTw2S/VXtpmfY99GlCLiNqFvNN6cgcSyG/881sb5591+KWWwwbZGkYUQI4C+QGF8=
18:08:52.089 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << Date: Wed, 29 Nov 2023 17:08:52 GMT
18:08:52.089 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << Content-Type: application/unknown
18:08:52.090 [vert.x-worker-thread-0] DEBUG jclouds.headers -- << Content-Length: 0

Azure and file system installation works fine.

@Maxim-Gadalov
Copy link
Contributor Author

Duplicate #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant