From d407561ff627ac523e7a3f125af0e61aa0b07f1f Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Thu, 22 Sep 2011 12:21:09 -0500 Subject: [PATCH] Fixing parameter for AFHTTPClient -appendPartWithFile:fileName: --- AFNetworking/AFHTTPClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index 4fd94a1..3c1fc3d 100644 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -261,7 +261,7 @@ Appends the HTTP header `Content-Disposition: file; filename=#{filename}"`, followed by the encoded file data and the multipart form boundary. @param fileURL The URL for the local file to have its contents appended to the form data. - @param body The filename to be associated with the file contents. If `nil`, the last path component followed by its file extension will be used instead. + @param fileNameOrNil The filename to be associated with the file contents. If `nil`, the last path component followed by its file extension will be used instead. */ - (void)appendPartWithFile:(NSURL *)fileURL fileName:(NSString *)fileNameOrNil;