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)