[Catalyst-dev] Catalyst::Response->no_cache

Brandon Black blblack at gmail.com
Fri Jul 7 18:15:07 CEST 2006


On 7/6/06, Drew Taylor <taylor.andrew.j at gmail.com> wrote:
> On 7/6/06, Brandon Black <blblack at gmail.com> wrote:
> >
> > I really think it might as well just be a patch to the core
> > Catalyst::Response, as it does nothing unless you ask it to.
>
> I quite like the idea of it being in core. One thought about the patch: IIRC
> the POSIX module is quite heavy. Use HTTP::Date instead (part of
> libwww-perl) and it gets even simpler.
>

True.  Attached is the same patch, reworked to use HTTP::Date instead,
plus slight test improvements, and with all of the ->header calls
refactored into a single call that formats nicely.

-- Brandon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: response-nocache.patch
Type: text/x-patch
Size: 3680 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst-dev/attachments/20060707/67a19575/attachment.bin 


More information about the Catalyst-dev mailing list