Merge from default branch.

--HG--
branch : product-engine
meow-7.2.2
Mike Antipov 2009-12-29 12:21:00 +02:00
commit 2fdec10a3b
1 changed files with 4 additions and 1 deletions

View File

@ -166,8 +166,11 @@ public:
// 2xx status codes indicate success.
// Most 4xx status codes are successful enough for our purposes.
// 499 is the error code for host not found, timeout, etc.
// 500 means "Internal Server error" but we decided it's okay to
// accept this and go past it in the MIME type probe
if( ((status >= 200) && (status < 300)) ||
((status >= 400) && (status < 499)) )
((status >= 400) && (status < 499)) ||
(status == 500) )
{
// The probe was successful.