Remove an unused 404 checker since on a 404, GetResponse() throws a WebException rather than proceeding.
parent
938b4f8bf8
commit
0d64155bb5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue