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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is necessary that the headers: user-agent and content-type could not be filled in automatically when setting the flag in the settings #214

Closed
2 tasks done
budarin opened this issue Aug 16, 2022 · 2 comments 路 Fixed by #216

Comments

@budarin
Copy link

budarin commented Aug 16, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

馃殌 Feature Proposal

Many tools, such as curl, do not automatically fill in these parameters, so during testing of services it is necessary to disable the automatic filling of these headers in order to test the response of the service to their absence.

curl -X POST http://localhost:3000/route --body "{}"

I suggest adding a parameter to the settings that would regulate this behavior

@mcollina
Copy link
Member

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

@budarin
Copy link
Author

budarin commented Aug 16, 2022

I'll try

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

Successfully merging a pull request may close this issue.

2 participants