Differences From Artifact [a5f10ef207]:
- File src/OFHTTPResponse.m — part of check-in [7e8ee9b1f9] at 2017-05-13 19:51:35 on branch trunk — Make Apple GCC happy (user: js, size: 6374) [annotate] [blame] [check-ins using]
To Artifact [76d4694db2]:
- File
src/OFHTTPResponse.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: 6308) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #include "config.h" #import "OFHTTPResponse.h" #import "OFString.h" #import "OFDictionary.h" #import "OFArray.h" #import "OFDataArray.h" | < | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #include "config.h" #import "OFHTTPResponse.h" #import "OFString.h" #import "OFDictionary.h" #import "OFArray.h" #import "OFDataArray.h" #import "OFInvalidEncodingException.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" #import "OFTruncatedDataException.h" #import "OFUnsupportedVersionException.h" |
︙ | ︙ | |||
133 134 135 136 137 138 139 | ret = OF_STRING_ENCODING_AUTODETECT; } return ret; } @implementation OFHTTPResponse | | < | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | ret = OF_STRING_ENCODING_AUTODETECT; } return ret; } @implementation OFHTTPResponse @synthesize statusCode = _statusCode, headers = _headers; - init { self = [super init]; _protocolVersion.major = 1; _protocolVersion.minor = 1; return self; } - (void)dealloc { [_headers release]; [super dealloc]; } - (void)setProtocolVersion: (of_http_request_protocol_version_t)protocolVersion { if (protocolVersion.major != 1 || protocolVersion.minor > 1) |
︙ | ︙ |