Showing
1 changed file
with
0 additions
and
2 deletions
| @@ -136,7 +136,6 @@ | @@ -136,7 +136,6 @@ | ||
| 136 | request = [ASIHTTPRequest requestWithURL:url]; | 136 | request = [ASIHTTPRequest requestWithURL:url]; |
| 137 | [request setShouldRedirect:NO]; | 137 | [request setShouldRedirect:NO]; |
| 138 | [request start]; | 138 | [request start]; |
| 139 | - NSLog([request responseString]); | ||
| 140 | 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 | 139 | 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 |
| 141 | continue; | 140 | continue; |
| 142 | } | 141 | } |
| @@ -145,7 +144,6 @@ | @@ -145,7 +144,6 @@ | ||
| 145 | 144 | ||
| 146 | request = [ASIHTTPRequest requestWithURL:url]; | 145 | request = [ASIHTTPRequest requestWithURL:url]; |
| 147 | [request start]; | 146 | [request start]; |
| 148 | - NSLog([request responseString]); | ||
| 149 | success = [[request responseString] isEqualToString:[NSString stringWithFormat:@"Redirected content after a %hi status code",i]]; | 147 | success = [[request responseString] isEqualToString:[NSString stringWithFormat:@"Redirected content after a %hi status code",i]]; |
| 150 | GHAssertTrue(success,[NSString stringWithFormat:@"Got the wrong content when redirecting after a %hi",i]); | 148 | GHAssertTrue(success,[NSString stringWithFormat:@"Got the wrong content when redirecting after a %hi",i]); |
| 151 | 149 |
-
Please register or login to post a comment