HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: broken servers with bad responses...also
Author: Haudy Kazemi
Date: 01/08/2003 08:33
 
I think the MIME Type should get priority in determining 
the 'true type' of the file.  It'll help solve the cases 
of .ASP/.CGI/.PL URL extensions.

I would say that in the case of foo.com/cgi.exe, if coupled 
with MIME-type text/html, that it should be checked for 
the '404' error strings I mention in my previous post.  
These 'binary' types should also be checked by default if 
they were associated with MIME-type text/html: 
+*.gif +*.jpg +*.png +*.tif +*.bmp
+*.zip +*.tar +*.tgz +*.gz +*.rar +*.z +*.exe
+*.mov +*.mpg +*.mpeg +*.avi +*.asf +*.mp3 +*.mp2 +*.rm 
+*.wav +*.vob +*.qt +*.vid +*.ac3

Ideally it would be possible to add other binary types and 
override the defaults.

I think the case of a .exe named cgi returning a page with 
the 404 trigger strings in it is more unlikely than finding 
an actual .exe file to download.

Phew...this problem is not simple at all...
 
Reply Create subthread


All articles

Subject Author Date
broken servers with bad responses...

01/05/2003 12:09
Re: broken servers with bad responses...

01/05/2003 15:02
Re: broken servers with bad responses...

01/05/2003 22:24
Re: broken servers with bad responses...

01/07/2003 21:19
Re: broken servers with bad responses...

01/07/2003 21:21
Re: broken servers with bad responses...

01/08/2003 08:22
Re: broken servers with bad responses...also

01/08/2003 08:33




f

Created with FORUM 2.0.11