Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Use HeadObject instead of GetObject to determine the ContentLength#43

Merged
Marlinc merged 1 commit intocbws:masterfrom
mguggi:master
Dec 18, 2019
Merged

Use HeadObject instead of GetObject to determine the ContentLength#43
Marlinc merged 1 commit intocbws:masterfrom
mguggi:master

Conversation

@mguggi
Copy link

@mguggi mguggi commented Dec 18, 2019

This avoids unnecessary transfer of the content of the object and prevents from unexpected behaviour with the "Content-Length" field when "Transfer-Encoding: chunked" will be used.

coreos#2146

@Marlinc
Copy link

Marlinc commented Dec 18, 2019

Thank you @mguggi!

@Marlinc Marlinc merged commit 804940f into cbws:master Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants