tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: [PATCH] ./jk/native2/common/jk_worker_status.c - output non-caching headers
Date Mon, 01 Mar 2004 09:20:01 GMT
Guenter Knauf wrote:
> Hi,
> here's a patch to put non-caching headers out; maybe an 'Expires' header is also needed..?
> 
> --- jk_worker_status.c.orig	Fri Feb 27 12:24:12 2004
> +++ jk_worker_status.c	Sun Feb 29 19:30:24 2004
> @@ -944,6 +944,10 @@
>          s->headers_out->put(env, s->headers_out,
>                              "Content-Type", "text/html", NULL);
>      }
> +    s->headers_out->put(env, s->headers_out,
> +                        "Pragma", "no-cache", NULL);
> +    s->headers_out->put(env, s->headers_out,
> +                        "Cache-Control", "no-cache", NULL);
>      s->head(env, s );
>  
>  	s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
> 

Commited, thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message