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

Add Support for Custom Headers #210

Merged

Conversation

njegosrailic
Copy link
Contributor

@njegosrailic njegosrailic commented Jun 10, 2024

Issue #, if available:
#211
Description of changes:

The current implementation lacks the ability to add custom headers to HTTP requests, which can be useful for various purposes such as passing custom client information, or other metadata. This feature would enhance the flexibility and utility of the application by allowing users to specify additional headers as needed.

Introduce a new command-line flag --custom-headers that accepts a comma-separated list of headers in key=value format. The headers will be parsed and added to the HTTP request only if they do not already exist in the request, ensuring that the origin headers are not overridden.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@njegosrailic njegosrailic force-pushed the adding-support-for-custom-headers branch from bce7280 to 5d518cd Compare June 10, 2024 13:34
@njegosrailic njegosrailic force-pushed the adding-support-for-custom-headers branch from 5d518cd to 264a711 Compare June 10, 2024 15:09
@njegosrailic njegosrailic marked this pull request as ready for review June 10, 2024 15:10
@iuliancristea
Copy link

Would be great if we could get a bit more traction on this issue.

cc @chainchad @alvinlin123

@alvinlin123 alvinlin123 merged commit b027284 into awslabs:master Jun 26, 2024
1 check passed
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.

4 participants