Skip to content

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.

2 participants