Fix premature end of reading a post.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20195 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-10-04 09:53:47 +00:00
parent d453fe2c5e
commit d8105cddf1
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2004-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Fix premature end of read where no
content length is specified.
2004-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Add methods for converting XML escape

View file

@ -442,10 +442,6 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
{
complete = NO; // Read chunked body data
}
else if (ver >= 1.0 && [len intValue] == 0)
{
complete = YES; // No content
}
else
{
complete = NO; // No