httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject content type params
Date Tue, 02 May 1995 15:30:13 GMT

At some point, "clean_content_type()" was added to Apache..

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
void clean_content_type ()
{
    /* How marvelous.  Arena doesn't *accept* "text/html; level=3"
     * as a MIME type, so we have to strip off the parms.
     */

    char *cp = strchr(content_type, ';');

    if (cp) {
       while (cp > content_type && isspace (cp[-1]))
          --cp;
       *cp = '\0';
   }
}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I just gave Arena 0.96 some params and it was perfectly happy.
Time to yank this routine out of Apache, or is it still needed ?


robh

Mime
View raw message