Showing
1 changed file
with
2 additions
and
2 deletions
@@ -324,7 +324,7 @@ | @@ -324,7 +324,7 @@ | ||
324 | BOOL success; | 324 | BOOL success; |
325 | unsigned int i; | 325 | unsigned int i; |
326 | for (i=301; i<305; i++) { | 326 | for (i=301; i<305; i++) { |
327 | - NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://asi/ASIHTTPRequest/tests/redirect/%hi",i]]; | 327 | + NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://allseeing-i.com/ASIHTTPRequest/tests/redirect/%hi",i]]; |
328 | request = [ASIHTTPRequest requestWithURL:url]; | 328 | request = [ASIHTTPRequest requestWithURL:url]; |
329 | [request setShouldRedirect:NO]; | 329 | [request setShouldRedirect:NO]; |
330 | [request startSynchronous]; | 330 | [request startSynchronous]; |
@@ -353,7 +353,7 @@ | @@ -353,7 +353,7 @@ | ||
353 | 353 | ||
354 | // Test RFC 2616 behaviour | 354 | // Test RFC 2616 behaviour |
355 | for (i=301; i<303; i++) { | 355 | for (i=301; i<303; i++) { |
356 | - NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://asi/ASIHTTPRequest/tests/redirect/%hi",i]]; | 356 | + NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://allseeing-i.com/ASIHTTPRequest/tests/redirect/%hi",i]]; |
357 | request2 = [ASIFormDataRequest requestWithURL:url]; | 357 | request2 = [ASIFormDataRequest requestWithURL:url]; |
358 | [request2 setPostValue:@"Giant Monkey" forKey:@"lookbehindyou"]; | 358 | [request2 setPostValue:@"Giant Monkey" forKey:@"lookbehindyou"]; |
359 | [request2 setShouldUseRFC2616RedirectBehaviour:YES]; | 359 | [request2 setShouldUseRFC2616RedirectBehaviour:YES]; |
-
Please register or login to post a comment