mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
|
@ -1,3 +1,8 @@
|
|||
2020-03-12 Frederik Seiffert <frederik@algoriddim.com>
|
||||
|
||||
* Source/NSURLResponse.m: Fix parsing of NSURLResponse content type
|
||||
header.
|
||||
|
||||
2020-03-10 Frederik Seiffert <frederik@algoriddim.com>
|
||||
|
||||
* Source/NSURL.m: fix –[NSURLComponents setURL:] throwing
|
||||
|
|
|
@ -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…
Reference in a new issue