Added AuthenticationScheme to CopyWithZone
The CopyWithZone method did not copy the authenticationScheme, resulting in problems when using a copied ASIHTTPRequest.
Showing
2 changed files
with
2 additions
and
0 deletions
@@ -4081,6 +4081,7 @@ static NSOperationQueue *sharedQueue = nil; | @@ -4081,6 +4081,7 @@ static NSOperationQueue *sharedQueue = nil; | ||
4081 | [newRequest setShouldUseRFC2616RedirectBehaviour:[self shouldUseRFC2616RedirectBehaviour]]; | 4081 | [newRequest setShouldUseRFC2616RedirectBehaviour:[self shouldUseRFC2616RedirectBehaviour]]; |
4082 | [newRequest setShouldAttemptPersistentConnection:[self shouldAttemptPersistentConnection]]; | 4082 | [newRequest setShouldAttemptPersistentConnection:[self shouldAttemptPersistentConnection]]; |
4083 | [newRequest setPersistentConnectionTimeoutSeconds:[self persistentConnectionTimeoutSeconds]]; | 4083 | [newRequest setPersistentConnectionTimeoutSeconds:[self persistentConnectionTimeoutSeconds]]; |
4084 | + [newRequest setAuthenticationScheme:[self authenticationScheme]]; | ||
4084 | return newRequest; | 4085 | return newRequest; |
4085 | } | 4086 | } |
4086 | 4087 |
-
Please register or login to post a comment