mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-21 05:59:22 +00:00
Merge branch 'fix-cfhttp-cpurl-2141-2138' of github.com:ahankinson/cappuccino into fix-cfhttp-cpurl-2141-2138
This commit is contained in:
commit
63eb88c6ae
1 file changed
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user