Differences From Artifact [eb2ac21f4b]:
- File src/OFHTTPCookieManager.m — part of check-in [28bacc2aa0] at 2017-05-14 21:29:48 on branch trunk — Add OFHTTPCookieManager (user: js, size: 4154) [annotate] [blame] [check-ins using]
To Artifact [7266c82110]:
- File
src/OFHTTPCookieManager.m
— part of check-in
[f36f9bed02]
at
2017-05-15 21:35:12
on branch trunk
— OFHTTPCookie: Make domain and path mandatory
This requires passing a domain and defaults the path to /. (user: js, size: 4085) [annotate] [blame] [check-ins using]
︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | + | * file. */ #include "config.h" #import "OFHTTPCookieManager.h" #import "OFArray.h" #import "OFDate.h" #import "OFHTTPCookie.h" #import "OFURL.h" @implementation OFHTTPCookieManager + (instancetype)manager { return [[[self alloc] init] autorelease]; |
︙ | |||
56 57 58 59 60 61 62 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | - - - - + | - (void)addCookie: (OFHTTPCookie *)cookie forURL: (OFURL *)URL { void *pool = objc_autoreleasePoolPush(); OFString *cookieDomain, *URLHost; size_t i; |
︙ |