From a650c74d2353acc3eb872fef80ff9a07b0b491cc Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 8 May 2011 16:50:36 -0700 Subject: [PATCH 1/2] Comment verbose debug message in GetTexture --- OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index 00ff3d0b5b..105a1e028b 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs @@ -73,7 +73,7 @@ namespace OpenSim.Capabilities.Handlers string textureStr = query.GetOne("texture_id"); string format = query.GetOne("format"); - m_log.DebugFormat("[GETTEXTURE]: called {0}", textureStr); + //m_log.DebugFormat("[GETTEXTURE]: called {0}", textureStr); if (m_assetService == null) { From 3a5e841b0b35a9a67538b986394687785c84acb7 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 8 May 2011 16:51:04 -0700 Subject: [PATCH 2/2] Fix content-type to be application/x-www-form-urlencoded --- OpenSim/Framework/WebUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 18e50a2849..6b8c3c005e 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs @@ -836,7 +836,7 @@ namespace OpenSim.Framework { if ((verb == "POST") || (verb == "PUT")) { - request.ContentType = "text/www-form-urlencoded"; + request.ContentType = "application/x-www-form-urlencoded"; int length = 0; using (StreamWriter writer = new StreamWriter(buffer))