Ben Copsey

Fix 304 test

... ... @@ -23,7 +23,7 @@
// Automatically set on build
NSString *ASIHTTPRequestVersion = @"v1.7-15 2010-07-17";
NSString *ASIHTTPRequestVersion = @"v1.7-22 2010-07-17";
NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";
... ...
... ... @@ -231,7 +231,7 @@
request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://asi/ASIHTTPRequest/tests/the_great_american_novel_(abridged).txt"]];
[request setDownloadCache:[ASIDownloadCache sharedCache]];
[request startSynchronous];
BOOL success = ([request responseStatusCode] == 304);
BOOL success = ([request responseStatusCode] == 200);
GHAssertTrue(success,@"Failed to perform a conditional get");
success = [request didUseCachedResponse];
... ...