Index: src/OFHTTPRequest.h ================================================================== --- src/OFHTTPRequest.h +++ src/OFHTTPRequest.h @@ -170,20 +170,20 @@ * @brief Sets the entity body of the HTTP request to the specified string * encoded in UTF-8. * * @param string The string to use for the entity body */ -- (void)setBodyFromString: (nullable OFString *)string; +- (void)setBodyFromString: (OFString *)string; /*! * @brief Sets the entity body of the HTTP request to the specified string * encoded in the specified encoding. * * @param string The string to use for the entity body * @param encoding The encoding to encode the string with */ -- (void)setBodyFromString: (nullable OFString *)string +- (void)setBodyFromString: (OFString *)string encoding: (of_string_encoding_t)encoding; @end #ifdef __cplusplus extern "C" {