mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-20 13:39:22 +00:00
Fixed: extraneous colon in https scheme test.
And whitespace formatting.
This commit is contained in:
1 parent
e0af5d0573
commit
0bd670b2a3
1 file changed
+4
-3
@@ -156,9 +156,9 @@ var CPURLConnectionDelegate = nil;
|
||||
|
||||
// Browsers use "file:", Titanium uses "app:"
|
||||
_isLocalFileConnection = scheme === "file" ||
|
||||
((scheme === "http" || scheme === "https:") &&
|
||||
window.location &&
|
||||
(window.location.protocol === "file:" || window.location.protocol === "app:"));
|
||||
((scheme === "http" || scheme === "https") &&
|
||||
window.location &&
|
||||
(window.location.protocol === "file:" || window.location.protocol === "app:"));
|
||||
|
||||
_HTTPRequest = new CFHTTPRequest();
|
||||
|
||||
@@ -257,6 +257,7 @@ var CPURLConnectionDelegate = nil;
|
||||
[_delegate connection:self didReceiveResponse:response];
|
||||
}
|
||||
}
|
||||
|
||||
if (!_isCanceled)
|
||||
{
|
||||
if ([_delegate respondsToSelector:@selector(connection:didReceiveData:)])
|
||||
|
||||
Reference in new issue
Block a user