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
2009-05-31 12:32:50 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3f1ef515353e07048eeda567ea8ad3df4929628f
3f1ef515
1 parent
44e5aee3
Remove debugging logs
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
Classes/Tests/ASIHTTPRequestTests.m
Classes/Tests/ASIHTTPRequestTests.m
View file @
3f1ef51
...
...
@@ -136,7 +136,6 @@
request
=
[
ASIHTTPRequest
requestWithURL
:
url
];
[
request
setShouldRedirect
:
NO
];
[
request
start
];
NSLog
([
request
responseString
]);
if
(
i
==
304
)
{
// 304s will not contain a body, as per rfc2616. Will test 304 handling in a future test when we have etag support
continue
;
}
...
...
@@ -145,7 +144,6 @@
request
=
[
ASIHTTPRequest
requestWithURL
:
url
];
[
request
start
];
NSLog
([
request
responseString
]);
success
=
[[
request
responseString
]
isEqualToString
:[
NSString
stringWithFormat
:
@"Redirected content after a %hi status code"
,
i
]];
GHAssertTrue
(
success
,[
NSString
stringWithFormat
:
@"Got the wrong content when redirecting after a %hi"
,
i
]);
...
...
Please
register
or
login
to post a comment