mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-28 07:22:41 +00:00
Fixed parsing of NSURLResponse content type header.
This commit is contained in:
parent
4a7325b00e
commit
5150ab1d5a
2 changed files with 7 additions and 1 deletions
|
@ -81,7 +81,8 @@ typedef struct {
|
|||
}
|
||||
s = [NSScanner scannerWithString: v];
|
||||
p = [GSMimeParser new];
|
||||
c = AUTORELEASE([GSMimeHeader new]);
|
||||
c = AUTORELEASE([[GSMimeHeader alloc] initWithName: @"content-type"
|
||||
value: nil]);
|
||||
/* We just set the header body, so we know it will scan and don't need
|
||||
* to check the retrurn type.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue