I think:
% ${$r->headers_out}{'Cache-Control'} = 'private';
can make it.
Needs testing though,
Lionel.
----- Original Message -----
From: "Anthony Ettinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 26, 2007 2:06 AM
Subject: [Mason] overwrite an http header
>I cannot seem to overwrite and http header from within a mason
> component, only add to it.
>
> example:
>
> % $r->header_out("Cache-Control" => "private");
>
> This produces "Cache-Control: no-cache, private", which is not working
> correctly in IE7...I need to remove the "no-cache" value entirely from
> within my mason component. Please help!
>
> Thanks.
>
> --
> Anthony Ettinger
> Ph: 408-656-2473
> http://chovy.dyndns.org/resume.html
> http://utuxia.com/consulting
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users