Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow specifying header on a per-request basis #408

Open
AdamGS opened this issue Dec 1, 2024 · 0 comments
Open

Allow specifying header on a per-request basis #408

AdamGS opened this issue Dec 1, 2024 · 0 comments
Assignees

Comments

@AdamGS
Copy link

AdamGS commented Dec 1, 2024

Is your feature request related to a problem? Please describe.
I want to be able to specify headers on a per request headers, in my specific use cases those are if-none-match and if-match as different object require different handling but I can imagine it being useful for other usescases (content-type being an obvious one).

Describe the solution you'd like
have _with_headers variants for some functions that allow for specifying a second header override (in addition to the bucket level additional_headers

Describe alternatives you've considered
Another possibility is storing some closure/middleware in Bucket that will check requests on their way out and mutate them as required.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants