[ https://issues.apache.org/jira/browse/WICKET-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-3775. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.5-RC5 Assignee: Juergen Donnerstag > Add methods to allow for better configuration of header values in WicketTester > ------------------------------------------------------------------------------ > > Key: WICKET-3775 > URL: https://issues.apache.org/jira/browse/WICKET-3775 > Project: Wicket > Issue Type: Improvement > Components: wicket-core > Affects Versions: 1.4.15 > Reporter: Adam Gray > Assignee: Juergen Donnerstag > Labels: request_header, testing, wicket > Fix For: 1.5-RC5 > > > At current, there seems to be no way to override header values that > WicketTester uses. Specifically, it's using a very old user-agent string for > requests. For applications that disallow access to unsupported browsers, > this requires adding testing run-state checking into production code to keep > builds from failing due to test-case failure. > At a minimum, please add #setHeader(name, value) to allow overriding of > header values to MockHttpServletRequest. There are probably other areas that > could be improved to allow better configurability, but this would cover a > good portion of it to start with. > (I assume this also affects 1.4.17 and 1.5.*, but I haven't verified that, so > I left it off of the affected versions) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira