tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c
Date Mon, 01 Mar 2004 09:20:17 GMT
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


Mime
View raw message