mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Use -mimeDocument method rather than -document
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13716 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a42e431f2
commit
856ecc2631
2 changed files with 19 additions and 6 deletions
|
@ -277,7 +277,7 @@ static void debugWrite(NSData *data)
|
|||
NSString *val;
|
||||
|
||||
[p parse: nil];
|
||||
info = [[p document] headerNamed: @"http"];
|
||||
info = [[p mimeDocument] headerNamed: @"http"];
|
||||
val = [info objectForKey: NSHTTPPropertyServerHTTPVersionKey];
|
||||
if (val != nil)
|
||||
[pageInfo setObject: val forKey: NSHTTPPropertyServerHTTPVersionKey];
|
||||
|
@ -319,7 +319,7 @@ static void debugWrite(NSData *data)
|
|||
RELEASE(document);
|
||||
RELEASE(parser);
|
||||
parser = [GSMimeParser new];
|
||||
document = RETAIN([parser document]);
|
||||
document = RETAIN([parser mimeDocument]);
|
||||
[self beginLoadInBackground];
|
||||
if (sock != nil)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue