Merge branch 'fix-cfhttp-cpurl-2141-2138' of github.com:ahankinson/cappuccino into fix-cfhttp-cpurl-2141-2138

This commit is contained in:
Andrew Hankinson committed 2014-06-23 15:51:31 -04:00
commit 63eb88c6ae
1 file changed
+4 -4
+4 -4
View File
@@ -153,11 +153,11 @@ var CPURLConnectionDelegate = nil;
//overloaded method that allows user to set _withCredentials
+ (CPURLConnection)connectionWithRequest:(CPURLRequest)aRequest delegate:(id)aDelegate withCredentials:(BOOL)withCredentials
{
var returnValue = [[self alloc] initWithRequest:aRequest delegate:aDelegate startImmediately:NO];
var connection = [[self alloc] initWithRequest:aRequest delegate:aDelegate startImmediately:NO];
[returnValue setWithCredentials:withCredentials];
[returnValue start];
return returnValue;
[connection setWithCredentials:withCredentials];
[connection start];
return connection;
}
/*