Differences From Artifact [c2cad19355]:
- File
tests/OFHTTPCookieTests.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: 2576) [annotate] [blame] [check-ins using]
To Artifact [65bd4b5a54]:
- File
tests/OFHTTPCookieTests.m
— part of check-in
[8896ef883e]
at
2017-05-27 08:56:47
on branch trunk
— +[OFHTTPCookie requestHeaderFieldsWithCookies:]
Also renames +[OFHTTPCookie cookiesFromHeaders:forURL:] to
+[OFHTTPCookie cookiesWithResponseHeaderFields:forURL:] to differentiate
between request and response header fields. (user: js, size: 2945) [annotate] [blame] [check-ins using]
︙ | |||
29 30 31 32 33 34 35 36 37 38 39 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | + - - + + - - + + - - - + + + - + + + + + + | @implementation TestsAppDelegate (OFHTTPCookieTests) - (void)HTTPCookieTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; OFURL *URL = [OFURL URLWithString: @"http://heap.zone"]; OFHTTPCookie *cookie[2]; OFArray OF_GENERIC(OFHTTPCookie *) *cookies; cookie[0] = [OFHTTPCookie cookieWithName: @"foo" value: @"bar" domain: @"heap.zone"]; |