From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 21:24:15 +1000 Subject: Dump OpenSim 0.9.0.1 into it's own branch. --- OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs') diff --git a/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs b/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs index 91c5c54..8bfc690 100644 --- a/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs +++ b/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs @@ -53,7 +53,7 @@ namespace OpenSim.Server.Handlers.Asset public AssetServerGetHandler(IAssetService service) : base("GET", "/assets") { - m_AssetService = service; + m_AssetService = service; } public AssetServerGetHandler(IAssetService service, IServiceAuth auth, string redirectURL) : @@ -155,7 +155,7 @@ namespace OpenSim.Server.Handlers.Asset httpResponse.ContentType = "text/plain"; result = new byte[0]; } - + if (httpResponse.StatusCode == (int)HttpStatusCode.NotFound && !string.IsNullOrEmpty(m_RedirectURL) && !string.IsNullOrEmpty(id)) { httpResponse.StatusCode = (int)HttpStatusCode.Redirect; -- cgit v1.1