Showing
1 changed file
with
1 additions
and
1 deletions
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | NSString *path = [[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:@"bigfile"]; | 22 | NSString *path = [[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:@"bigfile"]; |
23 | [data writeToFile:path atomically:NO]; | 23 | [data writeToFile:path atomically:NO]; |
24 | 24 | ||
25 | - ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:[NSURL URLWithString:@"http:/http://allseeing-i.com/asi-http-request/tests/post"]] autorelease]; | 25 | + ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:[NSURL URLWithString:@"http://allseeing-i.com/asi-http-request/tests/post"]] autorelease]; |
26 | [request setPostValue:@"foo" forKey:@"post_var"]; | 26 | [request setPostValue:@"foo" forKey:@"post_var"]; |
27 | [request setFile:path forKey:@"file"]; | 27 | [request setFile:path forKey:@"file"]; |
28 | [request start]; | 28 | [request start]; |
-
Please register or login to post a comment