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

Send request with out Content-Type header #2651

Open
daniel-vergien-bdr opened this issue Feb 4, 2025 · 0 comments
Open

Send request with out Content-Type header #2651

daniel-vergien-bdr opened this issue Feb 4, 2025 · 0 comments

Comments

@daniel-vergien-bdr
Copy link

We need to test requests with out the Content-Type Header to ensure correct error messages from our service.
According to an old stackoverflow post https://stackoverflow.com/questions/53650758/karate-automatically-sets-content-type-header this is a not so common need so we might need to provide a MR.

How should the syntax look like?

And header Content-Type = null

or

And without header Content-Type
@daniel-vergien-bdr daniel-vergien-bdr changed the title Send request with out Content-Type Header Send request with out Content-Type header Feb 4, 2025
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

No branches or pull requests

1 participant