You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ha...@ooo.lanl.gov> on 1995/05/02 23:30:13 UTC
content type params
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