mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
cosmetics
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using OSHttpServer;
|
||||
@@ -132,7 +133,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
|
||||
response.StatusCode = responsecode;
|
||||
if (responsecode == (int)OSHttpStatusCode.RedirectMovedPermanently)
|
||||
if (responsecode == (int)HttpStatusCode.Moved)
|
||||
{
|
||||
response.AddHeader("Location:", (string)responsedata["str_redirect_location"]);
|
||||
response.KeepAlive = false;
|
||||
|
||||
Reference in New Issue
Block a user