Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

reproduce the issue with a unit test. - #105

Merged
bclozel merged 1 commit into
spring-attic:masterfrom
jnizet:bug/SPR-13417
Sep 2, 2015
Merged

bclozel merged 1 commit into
spring-attic:masterfrom
jnizet:bug/SPR-13417

Conversation

@jnizet

@jnizet jnizet commented Sep 2, 2015

Copy link
Copy Markdown
Contributor

When sending no content, and thus also no content type, I expect the argument to be set to null, as documented, since the required attribute of the @RequestBody annotation is set to false.

Note that the controller works as expected if a content-type header is set.

When sending no content, and thus also no content type, I expect the argument to be set to null, as documented, since the `required` attribute of the `@RequestBody annotation is set to false.

Note that the controller works as expected if a content-type header is set.
bclozel added a commit that referenced this pull request Sep 2, 2015
reproduce the issue with a unit test.
@bclozel
bclozel merged commit 6bdf345 into spring-attic:master Sep 2, 2015
@bclozel

bclozel commented Jan 3, 2016

Copy link
Copy Markdown
Contributor

Hi @danipl , I've added a comment on your SO question.
This may not be strictly related to this issue - could you update your question? I'd like to get enough information to create a repro project and find the problem. Thanks!

@danipl

danipl commented Jan 3, 2016

Copy link
Copy Markdown

Hi, @bclozel , thank you for the quick response, I've updated the SO question with more info, I hope it be usefull for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants