summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-12-30 13:25:18 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-12-30 13:25:18 +0200
commitdb482969ed69b16b1755599750dd2d80cb4daff8 (patch)
tree70e6afc4826ee8e3e3cb7b36b6a5a0ff52b79f9a /indra/newview/llviewermedia.cpp
parent1febd28bd41f3ba0102a86da48f3098eebbbdb8a (diff)
parentf4e2287175ab1bc9d09fc73435a828071b9e2ba5 (diff)
Merge from default branch.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 4d912c6c11..bf96472e7e 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -168,12 +168,16 @@ public:
// 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
+ // 302 means the resource can be found temporarily in a different place - added this for join.secondlife.com
+ // 499 is a code specifc to join.secondlife.com (????) apparently safe to ignore
if( ((status >= 200) && (status < 300)) ||
((status >= 400) && (status < 499)) ||
- (status == 500) )
+ (status == 500) ||
+ (status == 302) ||
+ (status == 499)
+ )
{
// The probe was successful.
-
if(mime_type.empty())
{
// Some sites don't return any content-type header at all.