Hi,
this simple patch supresses the output of the style when we are in text/plain mode.

========================================================================
--- jk_worker_status.c.orig     Mon Mar 15 16:04:08 2004
+++ jk_worker_status.c  Tue Mar 16 04:02:24 2004
@@ -953,7 +953,10 @@
                         
     s->head(env, s );
 
-    s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
+    if( !(s->query_string != NULL &&
+        strncmp( s->query_string, "qry=", 4) == 0 ) ) {
+        s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
+    }
 
     /** Process the query string.
      */

Guenter.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to