Set environment variable based on the first header and use it to set the
second one.
On 04/04/2013 4:26 PM, "Esmond Pitt" <[email protected]> wrote:

> Is there a way to set a response header based on the content of another
> response header?
>
> In my specific situation I am back-ended by Tomcat and I would like to add
> a
> Pragma: no-cache header when Content-Type text/html, only, i.e. if Tomcat
> has already set that content-type.
>
> Or is this Pragma obsolete?
>
> EJP
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to