[ 
https://issues.apache.org/jira/browse/COCOON-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grzegorz Kossakowski (aka g[R]eK) updated COCOON-2009:
------------------------------------------------------

    Attachment: cocoon-pipeline-impl-http-compliant-patch-1.txt

cocoon-pipeline-impl-http-compliant-patch-1.txt:

This patch fixes setting response status codes (previously there were not set 
in many cases). It also adds setting Last-Modified headers in 
AbstractCachingProcessingPipeline. This change make all classes inheriting from 
it properly setting Last-Modified headers.

This way, caching pipelines (except expires pipeline) work well with 
conditional gets (with If-Modified-Since header provided in request). Expires 
pipeline is on my TODO list, but I should know first way it does not extend 
AbstractCachingProcessingPipeline.

As side-note, I would like to say that I'm not perfectly happy with this patch, 
but pipelines code is little hard to follow and even more obstructive if it 
comes to changing something. Would be great if some redesign work could happen 
in near future...

> Pipelines more HTTP-compliant (respecting and producing HTTP headers and 
> status codes)
> --------------------------------------------------------------------------------------
>
>                 Key: COCOON-2009
>                 URL: https://issues.apache.org/jira/browse/COCOON-2009
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: - Components: Sitemap
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski (aka g[R]eK)
>             Fix For: 2.2-dev (Current SVN)
>
>         Attachments: cocoon-pipeline-impl-http-compliant-patch-1.txt
>
>
> This issue was discussed a little here: 
> http://news.gmane.org/find-root.php?group=gmane.text.xml.cocoon.devel&article=70383
> Main aim is to respect cache-related headers and produce necessary 
> information for clients to do proper caching.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to