[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph updated MAGNOLIA-2685:
-------------------------------------
Fix Version/s: 4.3
(was: 4.2)
Might be related to MAGNOLIA-2936 - see comment about the
{{CacheResponseWrapper}}
> Setting headers after response was committed with website tree
> --------------------------------------------------------------
>
> Key: MAGNOLIA-2685
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2685
> Project: Magnolia
> Issue Type: Bug
> Components: core
> Affects Versions: 4.1
> Environment: winstone
> Reporter: Grégory Joseph
> Assignee: Grégory Joseph
> Fix For: 4.3
>
>
> This is currently visible with Winstone. For some reason, the servlet
> response is already committed when we try to add headers. (from the cache or
> gzip filters, possibly)
> This might even only be occuring currently with the quickstart page.
> This results in a blank page.
> {noformat}[Winstone 2009/04/07 12:35:28] - Cached filter chain available for
> cacheKey=FORWARD:URI:/.magnolia/pages/quickstart.html
> [Winstone 2009/04/07 12:35:28] - Executing Filter: magnoliaFilterChain
> [Winstone 2009/04/07 12:35:28] - Setting response character encoding to UTF-8
> [Winstone 2009/04/07 12:35:28] - Setting the request encoding from UTF-8 to
> UTF-8
> [Winstone 2009/04/07 12:35:28] - Setting response character encoding to UTF-8
> [Winstone 2009/04/07 12:35:28] - ServletOutputStream flushed
> [Winstone 2009/04/07 12:35:28] - Headers prepared for writing: [Server:
> Winstone Servlet Engine v0.9.10, Content-Type: text/html;charset=UTF-8,
> Connection: Close, Date: Tue, 07 Apr 2009 10:35:28 GMT, X-Powered-By:
> Servlet/2.5 (Winstone/0.9.10)]
> [Winstone 2009/04/07 12:35:28] - Committing response body
> [Winstone 2009/04/07 12:35:28] - Response: HTTP/1.1 200 OK
> [Winstone 2009/04/07 12:35:28] - Header: Server: Winstone Servlet Engine
> v0.9.10
> [Winstone 2009/04/07 12:35:28] - Header: Content-Type: text/html;charset=UTF-8
> [Winstone 2009/04/07 12:35:28] - Header: Connection: Close
> [Winstone 2009/04/07 12:35:28] - Header: Date: Tue, 07 Apr 2009 10:35:28 GMT
> [Winstone 2009/04/07 12:35:28] - Header: X-Powered-By: Servlet/2.5
> (Winstone/0.9.10)
> [Winstone 2009/04/07 12:35:28] - Written 0 bytes to response body
> [Winstone 2009/04/07 12:35:28] - Header ignored after response committed -
> Content-Encoding: gzip
> WARN info.magnolia.cms.util.RequestHeaderUtil
> RequestHeaderUtil.java(addAndVerifyHeader:68) RequestHandlerThread[#4]
> 2009-04-07 12:35:28,349 Unable to add response header Content-Encoding: gzip
> (uri:/.magnolia/trees/website.html userid:superuser)
> [Winstone 2009/04/07 12:35:28] - Header ignored after response committed -
> Vary: Accept-Encoding
> WARN info.magnolia.cms.util.RequestHeaderUtil
> RequestHeaderUtil.java(addAndVerifyHeader:68) RequestHandlerThread[#4]
> 2009-04-07 12:35:28,350 Unable to add response header Vary: Accept-Encoding
> (uri:/.magnolia/trees/website.html userid:superuser)
> [Winstone 2009/04/07 12:35:28] - Header ignored after response committed -
> Content-Length: 3874
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------