Commits

Anonymous committed 2c49905

Fix for EXT-3730 (HTTP response code of 500 from Find floater URL breaks it)
Reviewed by Sam

  • Participants
  • Parent commits e3d7b38

Comments (0)

Files changed (1)

File indra/newview/llviewermedia.cpp

 		// 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.