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] [Created] (COCOON-2358) Inconsistent Content-Length header for HEAD requests
Date Wed, 20 Sep 2017 18:09:00 GMT
Cédric Damioli created COCOON-2358:
--------------------------------------

             Summary: 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