Fix the synchronousrestformsrequester so it will successfully handle a response from a server which does not provide a valid content length header

avinationmerge
Tom Grimshaw 2010-07-10 19:00:12 -07:00
parent cecd660388
commit cea856cfc2
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace OpenSim.Framework.Servers.HttpServer
{
using (WebResponse resp = request.GetResponse())
{
if (resp.ContentLength > 0)
if (resp.ContentLength != 0)
{
Stream respStream = null;
try