From cd8cee4ac81f3e7e710bbb2c01dfb9a415ba9efa Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Fri, 25 Jan 2013 08:56:43 -0500 Subject: [PATCH] Enqueuing operation in upload example rather than calling -start directly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01e75a1..e60615f 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequ [operation setUploadProgressBlock:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) { NSLog(@"Sent %lld of %lld bytes", totalBytesWritten, totalBytesExpectedToWrite); }]; -[operation start]; +[httpClient enqueueHTTPRequestOperation:operation]; ``` ### Streaming Request