-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Verify sending Content-Type and custom object body via POST #1897
Conversation
Hi @arnestockmans, @Ribesg, @lamba92, @mister11. The issue was fixed some time ago, could you take a look and confirm that all cases were covered? |
@1hsyn1, could you also take a look? |
2b720ac
to
587da84
Compare
ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/SerializationTest.kt
Outdated
Show resolved
Hide resolved
ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/SerializationTest.kt
Outdated
Show resolved
Hide resolved
Also it is not clear to me how this PR solves #997. I think it is required to add checks for content type that was never specified but I couldn't find a test for the situation where no Content-Type header was specified at all. |
That's true. I'll check that case too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add more tests
587da84
to
a88d4b9
Compare
Hey, I fixed the exception message for #997(the behavior is expected, but the message looked confusing) and realized that there are lots of general serialization tests. Could you take a look? |
78d17f7
to
9c23255
Compare
9c23255
to
a8c91b3
Compare
Close #997, #1127