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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to