@@ -66,22 +66,20 @@ { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary *_headers; - OFDataArray *_POSTData; - OFString *_MIMEType; + OFDataArray *_entity; OFString *_remoteAddress; } #ifdef OF_HAVE_PROPERTIES @property (copy) OFURL *URL; @property of_http_request_method_t method; @property of_http_request_protocol_version_t protocolVersion; @property (copy) OFDictionary *headers; -@property (retain) OFDataArray *POSTData; -@property (copy) OFString *MIMEType; +@property (retain) OFDataArray *entity; @property (copy) OFString *remoteAddress; #endif /*! * @brief Creates a new OFHTTPRequest. @@ -176,36 +174,22 @@ * @return A dictionary with headers for the HTTP request. */ - (OFDictionary*)headers; /*! - * @brief Sets the POST data of the HTTP request. - * - * @param POSTData The POST data of the HTTP request - */ -- (void)setPOSTData: (OFDataArray*)POSTData; - -/*! - * @brief Returns the POST data of the HTTP request. - * - * @return The POST data of the HTTP request - */ -- (OFDataArray*)POSTData; - -/*! - * @brief Sets the MIME type for the POST data. - * - * @param MIMEType The MIME type for the POST data - */ -- (void)setMIMEType: (OFString*)MIMEType; - -/*! - * @brief Returns the MIME type for the POST data. - * - * @return The MIME type for the POST data - */ -- (OFString*)MIMEType; + * @brief Sets the entity body of the HTTP request. + * + * @param entity The entity body of the HTTP request + */ +- (void)setEntity: (OFDataArray*)entity; + +/*! + * @brief Returns the entity body of the HTTP request. + * + * @return The entity body of the HTTP request + */ +- (OFDataArray*)entity; /*! * @brief Sets the remote address from which the request originates. * * @param remoteAddress The remote address from which the request originates