@@ -509,14 +509,14 @@ if (_insecure && [sock respondsToSelector: @selector(setCertificateVerificationEnabled:)]) [sock setCertificateVerificationEnabled: false]; } -- (void)client: (OFHTTPClient *)client - requestsBody: (OFStream *)body - request: (OFHTTPRequest *)request - context: (id)context +- (void)client: (OFHTTPClient *)client + wantsRequestBody: (OFStream *)body + request: (OFHTTPRequest *)request + context: (id)context { /* TODO: Do asynchronously and print status */ while (![_body isAtEndOfStream]) { char buffer[4096]; size_t length;