[ https://issues.apache.org/jira/browse/WICKET-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4342. ------------------------------------- Resolution: Fixed > Allow resources disable the flushing of the response after setting the headers > ------------------------------------------------------------------------------ > > Key: WICKET-4342 > URL: https://issues.apache.org/jira/browse/WICKET-4342 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 1.5.3 > Reporter: Martin Grigorov > Assignee: Martin Grigorov > Fix For: 6.0.0, 1.5.4 > > > Currently > org.apache.wicket.request.resource.AbstractResource#setResponseHeaders() > flushes the response after setting the headers. > Matej added this with revision da1077e12e690fda9a7f47a745308a156df738bd > because: > This is necessary for Firefox if this resource is an image, otherwise it > messes up other images on page. > In some cases this flush causes troubles because it doesn't allow to reset > the response in #onWriteCallback(). > It will be better if the flushing is configurable. -- 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