Skip to content

gensupport/storage: allow Accept-Encoding header #2757

Open
@BrennaEpp

Description

@BrennaEpp

Is your feature request related to a problem? Please describe.
In Storage, we use the Accept-Encoding header to allow users to download the zipped version of their data, see ReadCompressed. We cannot support this in JSON because the header is disallowed.

Describe the solution you'd like
Allow the header, at least for storage media downloads. This requires changes to the generated code.

Describe alternatives you've considered
Allow the header in general. This can be done in gensupport. (edit: this actually would be my preferred solution, but it may impact other libraries - linked PR is for the first option)

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions