Closed KyrillosNageh closed 2 months ago
Attention: Patch coverage is 83.33333%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 53.95%. Comparing base (
fd84020
) to head (548b888
). Report is 14 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
src/main/java/com/shaft/api/RestActions.java | 83.33% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
.
Fixes #1697
This PR ensures that the
Content-Type
is set based on the header value if it is not explicitly set by the user.prepareRequestSpecs
method to check ifcontentType
is stillContentType.ANY
.ContentType
is not explicitly set by the user, it now retrieves theContent-Type
fromsessionHeaders
and applies it directly to theRequestSpecBuilder
.Content-Type
provided in the headers, preventing encoding and serialization issues.