Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow client to set Accept-Encoding header in object request #795

Closed

Conversation

ernsheong
Copy link
Contributor

My quick stab for the enhancement in #449

Apologies if this is not quite the way to do it. I don't have much Golang production experience, or experience with code practices in google-cloud-go. Happy to get feedback!

Let me know how it can be improved, and if this would require a unit test!

userProject string // for requester-pays buckets
encryptionKey []byte // AES-256 key
userProject string // for requester-pays buckets
reqHeaders map[string][]string // to set custom request headers e.g. "Accept-Encoding"

This comment was marked as spam.

This comment was marked as spam.

@ernsheong
Copy link
Contributor Author

Oops, looks like Github PRs are not valid.

@ernsheong ernsheong closed this Oct 21, 2017
gcf-owl-bot bot added a commit that referenced this pull request Apr 10, 2023
Followup to #794 now that the Go generator has been patched
Source-Link: googleapis/googleapis@2954139

Source-Link: googleapis/googleapis-gen@bcb74f7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmNiNzRmNzNlZjk0NGU4MWMyNDNlNDNmZTJhMmE2YmNiMjA0ZTJhMiJ9
gcf-merge-on-green bot pushed a commit that referenced this pull request Apr 10, 2023
- [ ] Regenerate this pull request now.

Followup to #794 now that the Go generator has been patched
Source-Link: https://togithub.com/googleapis/googleapis/commit/2954139219b05e346f3d046a1e691214b7d9f7de

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/bcb74f73ef944e81c243e43fe2a2a6bcb204e2a2
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmNiNzRmNzNlZjk0NGU4MWMyNDNlNDNmZTJhMmE2YmNiMjA0ZTJhMiJ9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant