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

Verify sending Content-Type and custom object body via POST #1897

Merged
merged 4 commits into from
Aug 7, 2020

Conversation

e5l
Copy link
Member

@e5l e5l commented May 26, 2020

Close #997, #1127

@e5l
Copy link
Member Author

e5l commented May 26, 2020

Hi @arnestockmans, @Ribesg, @lamba92, @mister11. The issue was fixed some time ago, could you take a look and confirm that all cases were covered?

@e5l e5l self-assigned this May 26, 2020
@e5l
Copy link
Member Author

e5l commented May 26, 2020

@1hsyn1, could you also take a look?

@e5l e5l force-pushed the e5l/body-content-type branch from 2b720ac to 587da84 Compare June 29, 2020 07:50
@e5l e5l requested a review from Ololoshechkin July 15, 2020 13:51
@Ololoshechkin
Copy link
Contributor

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.

@e5l
Copy link
Member Author

e5l commented Jul 16, 2020

That's true. I'll check that case too.

Copy link
Contributor

@Ololoshechkin Ololoshechkin left a 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

@e5l e5l force-pushed the e5l/body-content-type branch from 587da84 to a88d4b9 Compare July 21, 2020 12:15
@e5l e5l requested a review from Ololoshechkin July 21, 2020 12:15
@e5l
Copy link
Member Author

e5l commented Jul 21, 2020

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?

@e5l e5l force-pushed the e5l/body-content-type branch from 78d17f7 to 9c23255 Compare August 7, 2020 11:51
@e5l e5l force-pushed the e5l/body-content-type branch from 9c23255 to a8c91b3 Compare August 7, 2020 12:59
@e5l e5l merged commit 451595f into master Aug 7, 2020
@e5l e5l deleted the e5l/body-content-type branch August 7, 2020 13:44
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.

ClassCastException when POSTing an object without explicitly setting a Content-Type
2 participants