Differences From Artifact [1e0b739883]:
- File
src/OFHTTPRequest.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 6675) [annotate] [blame] [check-ins using]
To Artifact [d5d8e0508a]:
- File src/OFHTTPRequest.m — part of check-in [e7713d6300] at 2016-10-08 15:57:35 on branch trunk — Add cookies property to OFHTTP{Request,Response} (user: js, size: 6716) [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; @synthesize cookies = _cookies, body = _body, remoteAddress = _remoteAddress; + (instancetype)request { return [[[self alloc] init] autorelease]; } + (instancetype)requestWithURL: (OFURL*)URL |
︙ | ︙ | |||
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 | > | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | return self; } - (void)dealloc { [_URL release]; [_headers release]; [_cookies release]; [_body release]; [_remoteAddress release]; [super dealloc]; } - copy |
︙ | ︙ |