Skip to content

fix(QTDI-1656): useless content type #1055

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

thboileau
Copy link

@thboileau thboileau commented Jun 5, 2025

As the "search" request does not need a request body, the "content-type" header is useless.

Requirements

  • Any code change adding any logic MUST be tested through a unit test executed with the default build
  • Any API addition MUST be done with a documentation update if relevant

Why this PR is needed?

What does this PR adds (design/code thoughts)?

The "Content-Type" header is fine when the request has a payload (which is the case for request with PUT or POST method not GET).
@thboileau thboileau changed the title tboileau/qtdi 1656 useless content type fix(QTDI-1656): useless content type Jun 5, 2025
Copy link

sonar-eks bot commented Aug 20, 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

Successfully merging this pull request may close these issues.

1 participant