Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
can't load a cpp file
Posted by: Mark D. Anderson
Date: August 20, 2001 06:32PM

as you probably know, IE plays games where it looks at the url in addition
to content-type, but
http://www.boost.org/libs/regex/example/snippets/regex_match_example.cpp
loads up just fine as text in IE.

in k-meleon it does nothing -- i mean it refuses (without an error) to do
anything at all with the url.

Options: ReplyQuote
Re: can't load a cpp file
Posted by: Brian
Date: August 21, 2001 03:16AM

in the new version a "save as..." box comes up, still not very useful when you want to view it as text... bitch at the sysadmin smiling smiley

Options: ReplyQuote
Re: can't load a cpp file
Posted by: Mark D. Anderson
Date: August 21, 2001 04:27AM

It is true that the server sends back "Content-Type: application/octet-stream"
for this url.
nevertheless, it seems like whatever IE does in this respect should be mimic'd.
i'm not sure how IE decides that an .exe is to be downloaded, while a .cpp
is to be displayed; perhaps it actually looks at the content itself to guess.
or maybe it has a builtin list of "text-like" suffixes.

-mda

Options: ReplyQuote
Re: can't load a cpp file
Posted by: po
Date: August 21, 2001 06:49AM

on a similar note, i know of a server that had been inadvertantly set to a default type of text/plain instead of text/html (since corrected)... k-meleon displayed the html source for the page, taking it at it's word, but IE somehow 'knew' to display an html page... i don't really know about the advisability of trying to mimic the non-standard behavior of IE, but i guess it's apt to be an issue...

maybe the user could choose between a 'smart' mode and a 'literalist' mode...

i dunno.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.