This commit is contained in:
Eric Reed 2013-03-13 10:03:27 -04:00
commit b68d22e4ac

View file

@ -270,7 +270,12 @@ namespace MediaBrowser.Server.Implementations.HttpServer
}
httpListenerResponse.ContentLength64 = stream.Length;
return new StreamWriter(stream, Logger);
return headersOnly ? null : new StreamWriter(stream, Logger);
}
if (headersOnly)
{
return null;
}
string content;