Главная страница


ru.cgi.perl

 
 - RU.CGI.PERL ------------------------------------------------------------------
 From : Alexey Borisov                       2:5020/400     28 Apr 2001  15:19:58
 To : All
 Subject : Re: Netscape: CGI problem: HTML source displayed
 -------------------------------------------------------------------------------- 
 
 Artem Chuprina wrote:
 
 > nir> а все остальные радостно  считали, что с заголовком
 > nir> "фигняContent-Type: text/html" все нормально и плевали они
 > nir> на "Content-Type: text/plain". :-)
 > 
 > Если бы :-( IE и за ним Opera считают, что если в начале документа
 > встретилось <HTML>, то это HTML, а не то, что написано в заголовке. И в
 > результате IE, кажется, просто не умеет по команде с сервера сохранить HTML на
 > диск, он его упорно отображает. За оперу ничего не скажу.
 
 Опера гораздо правильнее, чем IE. Ей нет дела до <HTML>, а ее
 "интеллект" 
 отключен по умолчанию:
 - --- from Opera help ---
 Opera is set by default to "Trust server to always return correct file
 types", 
 which means Opera will check the content-type in the HTTP header of a
 received file and continue to handle the file type in the manner it has
 been set up to handle 
 that kind of file type.
 If you uncheck this box, and the server gives that the file is either an
 "application/octet-stream" or "text/plain" in the HTTP header's
 content-type, Opera will check the extension of the file type and/or the
 actual content of the file by reading the first few bytes of it and
 attempt to execute this in the way the 
 browser has been set up to respond to the file type, to see if it is
 behaving correctly.
 If the testing works, Opera manipulates the file in the way it's set up
 to do in the file type's settings, but if the test fails, you'll be
 presented with the 
 File download dialog from which you can select what Opera is to do with 
 the file.
 --------
 
 -- 
 Best regards,
  Alexey
 
 --- ifmail v.2.15dev5
  * Origin: MTU-Intel ISP (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Netscape: CGI problem: HTML source displayed   Eugene Bodin   28 Apr 2001 11:13:20 
 Re: Netscape: CGI problem: HTML source displayed   Artem Chuprina   28 Apr 2001 11:37:53 
 Re: Netscape: CGI problem: HTML source displayed   Eugene Bodin   28 Apr 2001 13:07:45 
 Re: Netscape: CGI problem: HTML source displayed   Eugene Bodin   28 Apr 2001 12:59:34 
 Re: Netscape: CGI problem: HTML source displayed   Artem Chuprina   28 Apr 2001 13:34:10 
 Re: Netscape: CGI problem: HTML source displayed   Michael Poliakov   28 Apr 2001 14:20:57 
 Re: Netscape: CGI problem: HTML source displayed   vitus@ice.ru   28 Apr 2001 14:55:36 
 Re: Netscape: CGI problem: HTML source displayed   Alexander V. Gaiduk   28 Apr 2001 16:08:35 
 Re: Netscape: CGI problem: HTML source displayed   Artem Chuprina   28 Apr 2001 19:30:52 
 Re: Netscape: CGI problem: HTML source displayed   Alexey Borisov   28 Apr 2001 15:19:58 
Архивное /ru.cgi.perl/55154ec6a59e.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional