mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Use the "X-Content-Encoding" header to indicate gzipped data, because old OpenSims fail if they get an unknown "Content-Encoding"
This commit is contained in:
@@ -254,7 +254,7 @@ namespace OpenSim.Framework
|
||||
|
||||
if (compressed)
|
||||
{
|
||||
request.Headers["Content-Encoding"] = "gzip";
|
||||
request.Headers["X-Content-Encoding"] = "gzip"; // can't set "Content-Encoding" because old OpenSims fail if they get an unrecognized Content-Encoding
|
||||
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user