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

PutMetadata updates Content-MD5 header if request was without done with Transfer-Encoding: chunked #3

Open
jkaniuk opened this issue Feb 20, 2017 · 0 comments

Comments

@jkaniuk
Copy link

jkaniuk commented Feb 20, 2017

If request is done using regular HTTP PUT, without Transfer-Encoding: chunked, headers are properly set, original content is left intact, but Content-MD5 is modified to value of MD5 hash of empty string (PUT body).

If Transfer-Encoding is changed to chunked, everything works flawlessly.

Original node client uses chunked encoding to disable Content-length header.
However in other libraries Content-length header could be disabled regardless of encoding.

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

No branches or pull requests

1 participant