Martin Grigorov created WICKET-4804:
---------------------------------------
Summary: Add #setStatus(int) in AbstractResource.ResourceResponse
Key: WICKET-4804
URL: https://issues.apache.org/jira/browse/WICKET-4804
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 6.1.0, 1.5.8
Reporter: Martin Grigorov
Assignee: Martin Grigorov
org.apache.wicket.request.resource.AbstractResource.ResourceResponse provides
#setError(int code, String message) but doesn't provide #setStatus(int code).
This makes it hard to set custom headers (e.g. cache control) and set status
304 because if HttpServletResponse#setErrorCode() is used then many headers are
reset (including the cache control ones).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira