Re: Content Type Question -
07-15-2003
, 10:09 AM
I'm guessing that the extension of your page is probably either .cgi or .pl.
Since these are raw text files anyway, if the browser doesn't know how to
translate them, then you'll probably end up with text on the screen.
Usually, the browser is set up to translate HTML if the extension is also
..htm(l). No problems there. But anything else, it doesn't necessarily
know. However, if the browser sees the content type in there, then it can
parse it properly.
I ran into a similar problem a while back with .hcsp files, the proprietary
extension for our content management system. Adding the content type to the
page, as well as setting the mime type on the server to text/html, fixed the
problem for me in all cases and all browsers.
Best regards,
Chris |