>>> Ben Cottrell writes:

  bc> This fixes static html completely! It's compressed, and also
  bc> comes through as text/html. Thanks very much!!
  
      no problem.  i've been doing a lot of this myself lately.


  bc> perl scripts are still coming through as compressed (which is
  bc> good) text/plain (which is bad). Umm. Who has control over the
  bc> content-type?  

      the script; however, if you're compressing everything your
      script sends to STDOUT, you're compressing your headers too.
      (the first thing on your browser's screen is most likely
      Content-type: text/html.)  instead have your developers do
      something like:

        my $r = shift;
        $r->content_type('text/html');
  

      just as a by the way, i've been having a small problem with this 
      configuration (see the mail i sent to the list earlier today).  

      cheers,
      k.

-- 
kevin montuori

support independent booksellers -- http://www.booksense.com

Reply via email to