Differences From Artifact [c7f95080da]:
- File
src/OFHTTPRequest.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 6728) [annotate] [blame] [check-ins using]
To Artifact [41b78f73e9]:
- File
src/OFHTTPRequest.m
— part of check-in
[fedbbb2344]
at
2017-05-15 21:41:13
on branch trunk
— Remove cookies from OFHTTP{Request,Response}
These can just live in the headers. (user: js, size: 6687) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
74 75 76 77 78 79 80 | if (strcmp(string, "CONNECT") == 0) return OF_HTTP_REQUEST_METHOD_CONNECT; @throw [OFInvalidFormatException exception]; } @implementation OFHTTPRequest | | | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | if (strcmp(string, "CONNECT") == 0) return OF_HTTP_REQUEST_METHOD_CONNECT; @throw [OFInvalidFormatException exception]; } @implementation OFHTTPRequest @synthesize URL = _URL, method = _method, headers = _headers, body = _body; @synthesize remoteAddress = _remoteAddress; + (instancetype)request { return [[[self alloc] init] autorelease]; } + (instancetype)requestWithURL: (OFURL *)URL |
︙ | ︙ | |||
116 117 118 119 120 121 122 | return self; } - (void)dealloc { [_URL release]; [_headers release]; | < | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | return self; } - (void)dealloc { [_URL release]; [_headers release]; [_body release]; [_remoteAddress release]; [super dealloc]; } - copy |
︙ | ︙ |