@@ -14,10 +14,11 @@ * file. */ #import "OFObject.h" #import "OFString.h" +#import "OFHTTPCookie.h" #ifndef OF_HAVE_SOCKETS # error No sockets available! #endif @@ -74,10 +75,11 @@ { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString*, OFString*) *_headers; + OFArray OF_GENERIC(OFHTTPCookie*) *_cookies; OFDataArray *_body; OFString *_remoteAddress; } /*! @@ -94,10 +96,16 @@ * The headers for the HTTP request. */ @property OF_NULLABLE_PROPERTY (copy) OFDictionary OF_GENERIC(OFString*, OFString*) *headers; +/*! + * The cookies for the HTTP request. + */ +@property OF_NULLABLE_PROPERTY (copy) + OFArray OF_GENERIC(OFHTTPCookie*) *cookies; + /*! * The entity body of the HTTP request. */ @property OF_NULLABLE_PROPERTY (retain) OFDataArray *body;