[jira] [Commented] (COCOON-2358) Inconsistent Content-Length header for HEAD requests

2017-09-21 Thread Hudson (JIRA)
://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

[jira] [Closed] (COCOON-2358) Inconsistent Content-Length header for HEAD requests

2017-09-21 Thread JIRA
[ 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

[jira] [Updated] (COCOON-2358) Inconsistent Content-Length header for HEAD requests

2017-09-21 Thread JIRA
[ 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

[jira] [Created] (COCOON-2358) Inconsistent Content-Length header for HEAD requests

2017-09-20 Thread JIRA
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

Re: Content-Length header

2017-04-04 Thread Peter Hunsberger
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

Re: Content-Length header

2017-03-30 Thread Cédric Damioli
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

Re: Content-Length header

2017-03-29 Thread Peter Hunsberger
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

Content-Length header

2017-03-29 Thread Cédric Damioli
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

DO NOT REPLY [Bug 24571] - Content-Length header missing

2003-11-11 Thread bugzilla
/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?

DO NOT REPLY [Bug 24571] New: - Content-Length header missing

2003-11-10 Thread bugzilla
/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

DO NOT REPLY [Bug 24571] - Content-Length header missing

2003-11-10 Thread bugzilla
/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

RE: DO NOT REPLY [Bug 24571] New: - Content-Length header missi ng

2003-11-10 Thread Tim Olson
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

DO NOT REPLY [Bug 24571] - Content-Length header missing

2003-11-10 Thread bugzilla
/show_bug.cgi?id=24571 Content-Length header missing [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution