[
https://issues.apache.org/jira/browse/COCOON-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175304#comment-16175304
]
Hudson commented on COCOON-2358:
--------------------------------
SUCCESS: Integrated in Jenkins build Cocoon 2.1.X #120 (See
[https://builds.apache.org/job/Cocoon%202.1.X/120/])
COCOON-2358 Inconsistent Content-Length header for HEAD requests (cdamioli:
[http://svn.apache.org/viewvc/?view=rev&rev=1809196])
* (edit)
BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java
> Inconsistent Content-Length header for HEAD requests
> ----------------------------------------------------
>
> Key: COCOON-2358
> URL: https://issues.apache.org/jira/browse/COCOON-2358
> Project: Cocoon
> Issue Type: Bug
> Components: * Cocoon Core
> Reporter: Cédric Damioli
> Assignee: Cédric Damioli
> Fix For: 2.1.13
>
>
> After any request processing, Environment.commitResponse() is called which
> has the side effect to compute the actual response body size and then set the
> response content length.
> While this is perfectly fine for GET requests, it's obviously useless for
> eg.OPTIONS and even wrong for HEAD requests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)