@@ -19,18 +19,19 @@ #import "OFHTTPResponse.h" #import "OFString.h" #import "OFDictionary.h" #import "OFArray.h" #import "OFDataArray.h" +#import "OFHTTPCookie.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" #import "OFTruncatedDataException.h" #import "OFUnsupportedVersionException.h" @implementation OFHTTPResponse -@synthesize statusCode = _statusCode, headers = _headers; +@synthesize statusCode = _statusCode, headers = _headers, cookies = _cookies; - init { self = [super init]; @@ -41,10 +42,11 @@ } - (void)dealloc { [_headers release]; + [_cookies release]; [super dealloc]; } - (void)setProtocolVersion: (of_http_request_protocol_version_t)protocolVersion