aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs
index 3171759..f36cbbc 100644
--- a/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs
+++ b/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs
@@ -181,7 +181,7 @@ namespace OpenSim.Framework.Servers.HttpServer
181 _request = req; 181 _request = req;
182 _context = context; 182 _context = context;
183 183
184 if (null != req.Headers["content-encoding"]) 184 if ((null != req.Headers["content-encoding"]) && ("gzip" != req.Headers["content-encoding"]))
185 _contentEncoding = Encoding.GetEncoding(_request.Headers["content-encoding"]); 185 _contentEncoding = Encoding.GetEncoding(_request.Headers["content-encoding"]);
186 if (null != req.Headers["content-type"]) 186 if (null != req.Headers["content-type"])
187 _contentType = _request.Headers["content-type"]; 187 _contentType = _request.Headers["content-type"];