Add setHeader() to MockHttpServletRequest to be able to override default headers
--------------------------------------------------------------------------------
Key: WICKET-4481
URL: https://issues.apache.org/jira/browse/WICKET-4481
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.5.5
Reporter: Martin Grigorov
org.apache.wicket.protocol.http.mock.MockHttpServletRequest#setDefaultHeaders()
sets few default headers but since there is only #addHeader() and no
#setHeader() there is no way to override the value of 'User-Agent' header for
example.
http://stackoverflow.com/questions/9893609/can-one-set-the-browser-type-in-wicket-1-5-test-cases
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira