You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2004/03/01 10:20:01 UTC

Re: [PATCH] ./jk/native2/common/jk_worker_status.c - output non-caching headers

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