cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli (JIRA) <j...@apache.org>
Subject [jira] [Closed] (COCOON-2358) Inconsistent Content-Length header for HEAD requests
Date Thu, 21 Sep 2017 18:48:00 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cédric Damioli closed COCOON-2358.
----------------------------------
    Resolution: Fixed

> 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
>
> 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)

Mime
View raw message