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

header: support custom functions to evaluate add header value #440

Closed
wants to merge 3 commits into from

Conversation

Choraden
Copy link
Contributor

This patch adds id function to declare more advanced add header value.
Usage: --proxy-header: "X-Request-Id: {{id}}" - This will add a header with request's internal id.

With this functions user can evaluate the header value based on the request's or response's content.
`id` func retrieves request internal id value if available.
This allows for some more advanced user defined request modifiers.
@mmatczuk mmatczuk marked this pull request as draft September 27, 2023 13:26
@mmatczuk
Copy link
Contributor

mmatczuk commented Nov 7, 2023

We should approach it in 1.2 proper.

@Choraden
Copy link
Contributor Author

Closed as stale.

@Choraden Choraden closed this Sep 11, 2024
@Choraden Choraden deleted the hg/func_in_header branch September 11, 2024 08:47
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.

2 participants