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

OPENAPI: the rewrite header key formatting is wrong in code #131

Conversation

jacobm-splunk
Copy link
Contributor

There are multiple possible formatting possibilities for header values.

This MR ensures that a variety of header formatting methods are supported for the RewriteId feature.

@daveshanley
Copy link
Member

Can you help me understand why we need variations? It's a custom header?

@jacobm-splunk
Copy link
Contributor Author

Can you help me understand why we need variations? It's a custom header?

I want it to be as user-friendly as possible.

The header needs to be set by a user, and it's not super clear when the header is incorrect. I want to make wiretap give a user the best possible opportunity to set the correct rewrite id header.

I can remove that if we don't want it.

@daveshanley
Copy link
Member

Got it.

Thanks.

Copy link
Member

@daveshanley daveshanley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@daveshanley daveshanley merged commit 0d7463d into pb33f:main Jul 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants