From dd1fb1568e85a8e3622372cae21bcd3205051718 Mon Sep 17 00:00:00 2001 From: callum Date: Mon, 28 Dec 2009 13:25:48 -0800 Subject: Fix for EXT-3730 (HTTP response code of 500 from Find floater URL breaks it) Reviewed by Sam --- indra/newview/llviewermedia.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index df62c9628d..4d912c6c11 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -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. -- cgit v1.2.3