Skip to content

Commit

Permalink
Added AuthenticationScheme to CopyWithZone
Browse files Browse the repository at this point in the history
The CopyWithZone method did not copy the authenticationScheme, resulting
in problems when using a copied ASIHTTPRequest.
  • Loading branch information
gamma committed Aug 10, 2011
1 parent a879b8e commit 1a9e094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ profile
*.pbxuser
*.mode1v3
External/GHUnit/*
.svn
1 change: 1 addition & 0 deletions Classes/ASIHTTPRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1a9e094

Please sign in to comment.