Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Classes/ASIHTTPRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -4099,6 +4099,20 @@ - (id)copyWithZone:(NSZone *)zone
[newRequest setShouldAttemptPersistentConnection:[self shouldAttemptPersistentConnection]];
[newRequest setPersistentConnectionTimeoutSeconds:[self persistentConnectionTimeoutSeconds]];
[newRequest setAuthenticationScheme:[self authenticationScheme]];
#if NS_BLOCKS_AVAILABLE
[newRequest setStartedBlock:startedBlock];
[newRequest setHeadersReceivedBlock:headersReceivedBlock];
[newRequest setCompletionBlock:completionBlock];
[newRequest setFailedBlock:failureBlock];
[newRequest setBytesReceivedBlock:bytesReceivedBlock];
[newRequest setBytesSentBlock:bytesSentBlock];
[newRequest setDownloadSizeIncrementedBlock:downloadSizeIncrementedBlock];
[newRequest setUploadSizeIncrementedBlock:uploadSizeIncrementedBlock];
[newRequest setDataReceivedBlock:dataReceivedBlock];
[newRequest setAuthenticationNeededBlock:authenticationNeededBlock];
[newRequest setProxyAuthenticationNeededBlock:proxyAuthenticationNeededBlock];
[newRequest setRequestRedirectedBlock:requestRedirectedBlock];
#endif
return newRequest;
}

Expand Down