Re: Set response header based on another response header?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <esmond.pitt@xxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux