Ben Copsey

Fix another instance of copy -> mutableCopy that Nebil told me about and I failed to fix

... ... @@ -340,8 +340,8 @@
- (id)copyWithZone:(NSZone *)zone
{
ASIFormDataRequest *newRequest = [super copyWithZone:zone];
[newRequest setPostData:[[[self postData] copyWithZone:zone] autorelease]];
[newRequest setFileData:[[[self fileData] copyWithZone:zone] autorelease]];
[newRequest setPostData:[[[self postData] mutableCopyWithZone:zone] autorelease]];
[newRequest setFileData:[[[self fileData] mutableCopyWithZone:zone] autorelease]];
[newRequest setPostFormat:[self postFormat]];
[newRequest setStringEncoding:[self stringEncoding]];
[newRequest setRequestMethod:[self requestMethod]];
... ...
... ... @@ -24,7 +24,7 @@
// Automatically set on build
NSString *ASIHTTPRequestVersion = @"v1.6.2-63 2010-06-23";
NSString *ASIHTTPRequestVersion = @"v1.6.2-64 2010-06-23";
NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";
... ...
... ... @@ -320,6 +320,7 @@
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/table-row-data.xml"]];
[request setDownloadCache:[ASIDownloadCache sharedCache]];
[[ASIDownloadCache sharedCache] setDefaultCachePolicy:ASIOnlyLoadIfNotCachedCachePolicy];
[request setDidFinishSelector:@selector(tableViewDataFetchFinished:)];
[request setDelegate:self];
[[self tableQueue] addOperation:request];
... ...