Skip to content
Snippets Groups Projects
Commit 55f4ad3d authored by callum's avatar callum
Browse files

Fix for "DEV-43581 - EXT-2901: [BSI] Can't access twitter pages directly via MoaP"

parent 6dd3f549
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,16 @@ LOG_CLASS(LLMimeDiscoveryResponder);
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment