Remove an unused 404 checker since on a 404, GetResponse() throws a WebException rather than proceeding.

This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-13 01:24:22 +01:00
parent 938b4f8bf8
commit 0d64155bb5

View File

@@ -972,9 +972,6 @@ namespace OpenSim.Framework
{
using (HttpWebResponse resp = (HttpWebResponse)request.GetResponse())
{
if (resp.StatusCode == HttpStatusCode.NotFound)
return deserial;
if (resp.ContentLength != 0)
{
Stream respStream = resp.GetResponseStream();