Skip to content
Discussion options

You must be logged in to vote

storage_control.get_object() uses gRPC (over HTTP/2) via Tonic.

You are right. I completely forgot about that.

With regards to the x-goog-stored-content-length header, GCP provided this in the test I conducted, which aligns with the SDK. However, I am not sure whether it is guaranteed in all media downloads as expected by the SDK. fake-gcs-server communicates the size via the Content-Length header

That is the size of the download. Which can be smaller than the object (say if you are downloading a range), or larger (if the object is being decompressed on the fly). It may also be omitted.

happy patching fake-gcs-server, if need be, once I have confirmation.

I checked internally and …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@coryan
Comment options

Answer selected by mmukada
@mmukada
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
api: storage Issues related to the Cloud Storage API.
2 participants