Skip to content
Browse files

Added AuthenticationScheme to CopyWithZone

The CopyWithZone method did not copy the authenticationScheme, resulting
in problems when using a copied ASIHTTPRequest.
  • Loading branch information...
1 parent a879b8e commit 1a9e094eab6564d1c7a04353b43d44fc064c0c78 @gamma gamma committed Aug 10, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Classes/ASIHTTPRequest.m
View
1 .gitignore
@@ -10,3 +10,4 @@ profile
*.pbxuser
*.mode1v3
External/GHUnit/*
+.svn
View
1 Classes/ASIHTTPRequest.m
@@ -4081,6 +4081,7 @@ - (id)copyWithZone:(NSZone *)zone
[newRequest setShouldUseRFC2616RedirectBehaviour:[self shouldUseRFC2616RedirectBehaviour]];
[newRequest setShouldAttemptPersistentConnection:[self shouldAttemptPersistentConnection]];
[newRequest setPersistentConnectionTimeoutSeconds:[self persistentConnectionTimeoutSeconds]];
+ [newRequest setAuthenticationScheme:[self authenticationScheme]];
return newRequest;
}

0 comments on commit 1a9e094

Please sign in to comment.
Something went wrong with that request. Please try again.