cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: [jira] Commented: (COCOON-2150) Error on resetting response
Date Wed, 19 Dec 2007 19:00:27 GMT
Vadim Gritsenko pisze:
> On Dec 19, 2007, at 8:24 AM, Carsten Ziegeler (JIRA) wrote:
>>    [
>> ]
>> Carsten Ziegeler commented on COCOON-2150:
>> ------------------------------------------
>> Looking again at the code, I guess that the problematic part is the
>> check of the status code in
>> If an error handler has been running it might have set the error code
>> to 500.
>> I'm wondering why this status code checking is done anyway?
> Nod. It is all very smelly. Imagine if you were trying to send status
> 100 or 401...

The check has been introduced in order to handle polymorphism of servlet services but it seems
I overlooked mentioned snippet. Certainly we need to check HTTP specification and make this
more clever if we want to receive expected behaviour.

I'll have a look on this ASAP. My personal TODO list is:
1. Document servlet services
2. Have a look at COCOON-2126.
3. Evaluate patch in COCOON-1831
4. Now it's time to add COCOON-2150 to this list ;)

I'm leaving Warsaw tomorrow and moving back to my parents. I'm sure that I will find enough
of peace in a village of Eastern Poland to handle my TODO list...

Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon

View raw message