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,6 +222,7 @@ namespace OpenSim.Framework.Servers
|
|||
|
||||
request.InputStream.Close();
|
||||
if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType;
|
||||
if (!response.SendChunked)
|
||||
response.ContentLength64 = buffer.LongLength;
|
||||
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue