mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-22 21:22:59 +00:00
Fix for delay handling status 204 in returned pages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18521 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
768669968c
commit
f966ecd6da
2 changed files with 5 additions and 1 deletions
|
@ -310,7 +310,9 @@ static void debugWrite(NSData *data)
|
|||
[self endLoadInBackground];
|
||||
[self backgroundLoadDidFailWithReason: @"Response parse failed"];
|
||||
}
|
||||
else if ([parser isComplete] == YES)
|
||||
else if ([parser isComplete] == YES
|
||||
|| ([parser isInHeaders] == NO &&
|
||||
[[[document headerNamed: @"http"] objectForKey: NSHTTPPropertyStatusCodeKey] intValue] == 204))
|
||||
{
|
||||
GSMimeHeader *info;
|
||||
NSString *val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue