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

bulletsim
Justin Clark-Casey (justincc) 2011-07-13 01:24:22 +01:00
parent 938b4f8bf8
commit 0d64155bb5
1 changed files with 0 additions and 3 deletions

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();