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 option to preserve User-Agent in the proxied request header #2635

Open
MoOoG opened this issue Mar 11, 2024 · 0 comments
Open

Add option to preserve User-Agent in the proxied request header #2635

MoOoG opened this issue Mar 11, 2024 · 0 comments

Comments

@MoOoG
Copy link

MoOoG commented Mar 11, 2024

Proposal

Problem
Wiremock currently uses a list of forbidden request headers:

  • TRANSFER_ENCODING,
  • CONTENT_LENGTH,
  • connection,
  • USER_AGENT

In some cases, it is useful to preserve the user-agent header, but Wiremock does not currently provide this option.

Proposal
Add an option to be able to preserve the user-agent as it is sent by the client to the server.

References

No response

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

No branches or pull requests

1 participant