mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Remove an unused 404 checker since on a 404, GetResponse() throws a WebException rather than proceeding.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user