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 (Created) (JIRA)" <ji...@apache.org> on 2012/01/17 16:33:39 UTC
[jira] [Created] (WICKET-4342) Allow resources disable the flushing
of the response after setting the headers
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
[jira] [Resolved] (WICKET-4342) Allow resources disable the
flushing of the response after setting the headers
Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
[ 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