Commit b5e5826c authored by Felix Paul Kühne's avatar Felix Paul Kühne

HTTP Uploader: cosmetics

parent 5ad8a921
......@@ -223,7 +223,7 @@
- (void)processBodyData:(NSData *)postDataChunk
{
/* append data to the parser. It will invoke callbacks to let us handle
/* parsed data. */
* parsed data. */
[_parser appendData:postDataChunk];
}
......@@ -235,7 +235,7 @@
- (void)processStartOfPartWithHeader:(MultipartMessageHeader*) header
{
/* in this sample, we are not interested in parts, other then file parts.
/* check content disposition to find out filename */
* check content disposition to find out filename */
MultipartMessageHeaderField* disposition = (header.fields)[@"Content-Disposition"];
NSString* filename = [(disposition.params)[@"filename"] lastPathComponent];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment