From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that disables the addition of the Content-Length HTTP response header when a chunked response is being sent.0.6.0-stable
parent
60acc370fc
commit
e6e01cee17
|
@ -222,7 +222,8 @@ namespace OpenSim.Framework.Servers
|
||||||
|
|
||||||
request.InputStream.Close();
|
request.InputStream.Close();
|
||||||
if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType;
|
if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType;
|
||||||
response.ContentLength64 = buffer.LongLength;
|
if (!response.SendChunked)
|
||||||
|
response.ContentLength64 = buffer.LongLength;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue