cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Kossakowski (aka g[R]eK) (JIRA)" <>
Subject [jira] Updated: (COCOON-2009) Pipelines more HTTP-compliant (respecting and producing HTTP headers and status codes)
Date Tue, 13 Feb 2007 17:09:11 GMT


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

    Attachment: 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:
>             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:
> 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.

View raw message