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 · 2 comments
Open

Send request with out Content-Type header #2651

daniel-vergien-bdr opened this issue Feb 4, 2025 · 2 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
@arodr25
Copy link

arodr25 commented Feb 7, 2025

Hi, I am working on a team project in school and wanted to take a shot at this issue with my team, can I be allowed permission for this issue?

@ptrthomas
Copy link
Member

@arodr25 consider permission granted, just follow the standard PR process: https://github.com/karatelabs/karate/blob/master/.github/CONTRIBUTING.md

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

3 participants