@@ -89,11 +89,11 @@ @property (nonatomic) of_http_request_protocol_version_t protocolVersion; /*! * @brief The protocol version of the HTTP request as a string. */ -@property (readonly, nonatomic) OFString *protocolVersionString; +@property (copy, nonatomic) OFString *protocolVersionString; /*! * @brief The request method of the HTTP request. */ @property (nonatomic) of_http_request_method_t method; @@ -130,18 +130,10 @@ * * @param URL The URL for the request * @return An initialized OFHTTPRequest */ - (instancetype)initWithURL: (OFURL *)URL; - -/*! - * @brief Sets the protocol version of the HTTP request to the version - * described by the specified string. - * - * @param string A string describing an HTTP version - */ -- (void)setProtocolVersionFromString: (OFString *)string; @end #ifdef __cplusplus extern "C" { #endif