Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2008-11-11 23:06:03 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d6ea371678f9692331e16cf42c52f39f18575f30
d6ea3716
1 parent
844d6911
Fix another silly test url typo
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ASIFormDataRequestTests.m
ASIFormDataRequestTests.m
View file @
d6ea371
...
...
@@ -22,7 +22,7 @@
NSString
*
path
=
[[[[
NSBundle
mainBundle
]
bundlePath
]
stringByDeletingLastPathComponent
]
stringByAppendingPathComponent
:
@"bigfile"
];
[
data
writeToFile
:
path
atomically
:
NO
];
ASIFormDataRequest
*
request
=
[[[
ASIFormDataRequest
alloc
]
initWithURL
:[
NSURL
URLWithString
:
@"http:/
http:/
/allseeing-i.com/asi-http-request/tests/post"
]]
autorelease
];
ASIFormDataRequest
*
request
=
[[[
ASIFormDataRequest
alloc
]
initWithURL
:[
NSURL
URLWithString
:
@"http://allseeing-i.com/asi-http-request/tests/post"
]]
autorelease
];
[
request
setPostValue
:
@"foo"
forKey
:
@"post_var"
];
[
request
setFile
:
path
forKey
:
@"file"
];
[
request
start
];
...
...
Please
register
or
login
to post a comment