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

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c

hgomez      2004/03/01 01:20:17

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Make sure we send non-caching headers.
  
  Provided by Guenter Knauf
  
  Revision  Changes    Path
  1.52      +6 -0      jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- jk_worker_status.c	29 Feb 2004 09:44:33 -0000	1.51
  +++ jk_worker_status.c	1 Mar 2004 09:20:17 -0000	1.52
  @@ -944,6 +944,12 @@
           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 );
  
  
  

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