ratproxy icon indicating copy to clipboard operation
ratproxy copied to clipboard

Sniffed MIME type "application_javascript" instead of "application/javascript"

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

I'm not sure why ratproxy detects JavaScript code with MIME type
"application/javascript" as "application_javascript". Is there some valid
reason for this?

This leads to the following warnings in the report:
"MIME type: application/javascript, detected: application_javascript,
charset: -"

The following fragment of mime.c is responsible:

          else if (!strcasecmp(r->mime_type,"application/javascript"))
            r->sniffed_mime = "application_javascript";

Original issue reported on code.google.com by adambyrtek on 18 Sep 2009 at 1:29

GoogleCodeExporter avatar Aug 13 '15 22:08 GoogleCodeExporter

Oops, indeed. Looks like a typo, my bad. 

Original comment by [email protected] on 6 Oct 2009 at 7:51

  • Changed state: Accepted

GoogleCodeExporter avatar Aug 13 '15 22:08 GoogleCodeExporter