Differences From Artifact [3bcfe6b2bf]:
- File src/OFHTTPRequest.h — part of check-in [28bacc2aa0] at 2017-05-14 21:29:48 on branch trunk — Add OFHTTPCookieManager (user: js, size: 5328) [annotate] [blame] [check-ins using]
To Artifact [665d821683]:
- File
src/OFHTTPRequest.h
— 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: 5112) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
12 13 14 15 16 17 18 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" #import "OFString.h" | < | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" #import "OFString.h" OF_ASSUME_NONNULL_BEGIN @class OFURL; @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFDataArray; @class OFString; |
︙ | ︙ | |||
69 70 71 72 73 74 75 | */ @interface OFHTTPRequest: OFObject <OFCopying> { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_headers; | < < < < < < < | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | */ @interface OFHTTPRequest: OFObject <OFCopying> { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_headers; OFDataArray *_body; OFString *_remoteAddress; } /*! * The URL of the HTTP request. */ @property (nonatomic, copy) OFURL *URL; /*! * The request method of the HTTP request. */ @property (nonatomic) of_http_request_method_t method; /*! * The headers for the HTTP request. */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFDictionary OF_GENERIC(OFString *, OFString *) *headers; /*! * The entity body of the HTTP request. */ @property OF_NULLABLE_PROPERTY (nonatomic, retain) OFDataArray *body; /*! * The remote address from which the request originates. |
︙ | ︙ |