Fix documentation for appendPartWithFileURL:name:error:.

The documentation said that the values for filename and the
Content-Type header was being obtained from a NSURLResponse,
but since this is a request, no response is available yet.

The documentation has been changed to reflect better where
those values really come from.
This commit is contained in:
Daniel Rodríguez Troitiño 2013-02-15 21:09:31 +01:00
parent cb3744a808
commit 574792d9cb

View file

@ -543,7 +543,7 @@ extern NSTimeInterval const kAFUploadStream3GSuggestedDelay;
@return `YES` if the file data was successfully appended, otherwise `NO`.
@discussion The filename and MIME type for this data in the form will be automatically generated, using `NSURLResponse` `-suggestedFilename` and `-MIMEType`, respectively.
@discussion The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.
*/
- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
name:(NSString *)name