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

Create MockHttpServletRequestBuilder.accept(String ...mediatTypes) overload. [SPR-10390] #15023

spring-issuemaster opened this issue Mar 17, 2013 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Mar 17, 2013

Karl Bennett opened SPR-10390 and commented

There isn't currently a MockHttpServletRequestBuilder.accept method that accepts String representations of MIME types. This would be useful, it is also alluded to in the current documentation and it would better match the functionality of the ContentResultMatchers.contentType method.

Affects: 3.2.2

Reference URL:

Issue Links:

  • #15022 Fix errors in Spring MVC Test server-side code examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.