We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d285b commit a70916eCopy full SHA for a70916e
gcs/object.py
@@ -535,7 +535,7 @@ def streamer():
535
headers["Content-Type"] = "application/octet-stream"
536
537
headers["x-goog-stored-content-length"] = self.metadata.size
538
- headers["Content-Length"] = self.metadata.size
+ headers["Content-Length"] = len(response_payload)
539
540
if self.metadata.content_encoding:
541
headers["x-goog-stored-content-encoding"] = self.metadata.content_encoding
0 commit comments