mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
add auxiliar httpresponse.Redirect(string url, [HttpStatusCode redirStatusCode = HttpStatusCode.Redirect])
This commit is contained in:
@@ -122,8 +122,7 @@ namespace OpenSim.Region.ClientStack.LindenCaps
|
||||
|
||||
private void ProcessServerReleaseNotes(IOSHttpResponse httpResponse)
|
||||
{
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.Moved;
|
||||
httpResponse.AddHeader("Location", m_ServerReleaseNotesURL);
|
||||
httpResponse.Redirect(m_ServerReleaseNotesURL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user