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

Make it easier to see the HTTP headers when debugging MockMvc-based tests [SPR-15375] #19939

Closed
spring-issuemaster opened this issue Mar 23, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Mar 23, 2017

Andy Wilkinson opened SPR-15375 and commented

It would make debugging of MockMvc-based tests easier if HeaderValueHolder implemented toString(). As things stand, when looking at the headers of a MockHttpServletRequest I can see this:

{Accept=org.springframework.mock.web.HeaderValueHolder@3bc20984}

To get the actual value(s) of the header I have to drill down into the specific entry of the underlying LinkedHashMap.


No further details from SPR-15375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.