summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskolb <none@none>2009-12-01 13:35:07 -0800
committerskolb <none@none>2009-12-01 13:35:07 -0800
commita0c133f819b7b6043e39a39a02310cd1fad67859 (patch)
tree2aac909066e66e2ccf61b5b85813ace4c80c12c5
parent0ab6d36094cc52eea063f6d3b05262c111857f29 (diff)
parent55f4ad3dc8a218d00dc6f34241b27be2fac5a23b (diff)
Merge
-rw-r--r--indra/newview/llviewermedia.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index f2ddb0b1f1..608c5c2097 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -171,7 +171,16 @@ public:
else
if(status == 404)
{
- // Treat 404s like an html page.
+ // 404 is content not found - sites often have bespoke 404 pages so
+ // treat them like an html page.
+ completeAny(status, "text/html");
+ }
+ else
+ if(status == 406)
+ {
+ // 406 means the server sent something that we didn't indicate was acceptable
+ // Eventually we should send what we accept in the headers but for now,
+ // treat 406s like an html page.
completeAny(status, "text/html");
}
else