://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=1809196])
* (edit)
BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java
> Inconsistent Content-Length hea
[
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 reque
[
https://issues.apache.org/jira/browse/COCOON-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cédric Damioli updated COCOON-2358:
---
Fix Version/s: 2.1.13
> Inconsistent Content-Length header for HEAD reque
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
Think you can likely just hard code it to skip HEAD and maybe OPTIONS if
you need to? Document the change and if we some day finally get a new
release out the door people will just have to test against their existing
applications. I don't see how they would break but maybe there are ways?
Peter
I've searched archives but only found [1], which is only partly related.
Of course, commitResponse could be overridden in HttpEnvironment to
filter out some HTTP methods, but which ones ? Should we have a black
list, a white list, or a mean to configure it somewhere ? I don't want
to break
This sounds somewhat familiar, you may want to search the mailing list
archives to see if this has been discussed before Can commitResponse
tell what kind of request it is dealing with or if not can that be passed
in so that it knows?
Peter Hunsberger
On Wed, Mar 29, 2017 at 10:14 AM, Cédric
Hi,
I recently noticed that, at least for 2.1.x and 2.2.x, 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
/show_bug.cgi?id=24571
Content-Length header missing
--- Additional Comments From [EMAIL PROTECTED] 2003-11-11 12:53 ---
Maybe we could provide a configuration option for this in AbstractTextSerializer
or AbstractSerializer?
/show_bug.cgi?id=24571
Content-Length header missing
Summary: Content-Length header missing
Product: Cocoon 2
Version: 2.1.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
/show_bug.cgi?id=24571
Content-Length header missing
--- Additional Comments From [EMAIL PROTECTED] 2003-11-10 17:50 ---
changing the xml serializer to http exhibits the same problem
could i beg anyone to pick this up? we're dead-in-the-water with our
current development because our java applet can't read the cocoon-generated
XML due to a missing content-length header. it took a couple weeks to debug
it to this point, and i'll be looking at the cocoon source to see what i
/show_bug.cgi?id=24571
Content-Length header missing
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution
13 matches
Mail list logo