You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/04/25 10:08:04 UTC

[jira] [Resolved] (WICKET-4513) Create a way to change http header values in Base WicketTester.

     [ https://issues.apache.org/jira/browse/WICKET-4513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4513.
-------------------------------------

    Resolution: Duplicate

Duplicates WICKET-4481
                
> Create a way to change http header values in Base WicketTester.
> ---------------------------------------------------------------
>
>                 Key: WICKET-4513
>                 URL: https://issues.apache.org/jira/browse/WICKET-4513
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.5
>            Reporter: Inaiat Henrique de Moraes
>            Priority: Minor
>              Labels: test
>
> Create a way to change http header values in BaseWicketTester. 
> The org.apache.wicket.util.tester.BaseWicketTester create a new MockHttpServletRequest that uses hardcoded value for header. Example (MockHttpServletRequest,1500): 
> addHeader("User-Agent","Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2");
> I have not found a way to change headers value.

--
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