Skip to content

fix(storage): Remove accept encoding gzip for metadata#33896

Open
shubhangi-google wants to merge 4 commits into
googleapis:mainfrom
shubhangi-google:remove_accept_encoding_gzip
Open

fix(storage): Remove accept encoding gzip for metadata#33896
shubhangi-google wants to merge 4 commits into
googleapis:mainfrom
shubhangi-google:remove_accept_encoding_gzip

Conversation

@shubhangi-google

@shubhangi-google shubhangi-google commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

This pull request modifies the google-cloud-storage library to move the Accept-Encoding: gzip header from a global request.
associated Core library Pr where the header is being added back for media operation: googleapis/google-api-ruby-client#26530

@shubhangi-google shubhangi-google changed the title Remove accept encoding gzip storage(feat): Remove accept encoding gzip for metadata Apr 29, 2026
@shubhangi-google shubhangi-google marked this pull request as ready for review April 29, 2026 12:44
@shubhangi-google shubhangi-google requested review from a team and yoshi-approver as code owners April 29, 2026 12:44
@shubhangi-google shubhangi-google force-pushed the remove_accept_encoding_gzip branch from a523755 to ca42944 Compare May 8, 2026 11:14
@shubhangi-google shubhangi-google marked this pull request as draft May 8, 2026 11:37
@aandreassa aandreassa added the api: storage Issues related to the Cloud Storage API. label May 8, 2026
@shubhangi-google shubhangi-google marked this pull request as ready for review June 4, 2026 06:07
@bajajneha27 bajajneha27 changed the title storage(feat): Remove accept encoding gzip for metadata feat(storage): Remove accept encoding gzip for metadata Jun 5, 2026
@bajajneha27 bajajneha27 changed the title feat(storage): Remove accept encoding gzip for metadata fix(storage): Remove accept encoding gzip for metadata Jun 5, 2026
@bajajneha27

Copy link
Copy Markdown
Contributor

LGTM, can we please add some tests? Also is manual testing done for this?

@shubhangi-google

Copy link
Copy Markdown
Contributor Author

LGTM, can we please add some tests? Also is manual testing done for this?

@bajajneha27 Added test to ensure accept encoding header is not added by default
yes we did manual testing to ensure header is not added by default and is being added for media operations only via core library

@bajajneha27

Copy link
Copy Markdown
Contributor

Possible to add integration test as well?

Also, until you upgrade core library version, this change won't actually work. We need to do that before we can merge this PR.

@bajajneha27 bajajneha27 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants