@@ -351,11 +351,11 @@ OF_ORDERED_SAME && [newURLScheme caseInsensitiveCompare: @"https"] != OF_ORDERED_SAME) follow = false; - if (!_client->_insecureRedirectsAllowed && + if (!_client->_allowsInsecureRedirects && [URL.scheme caseInsensitiveCompare: @"https"] == OF_ORDERED_SAME && [newURLScheme caseInsensitiveCompare: @"http"] == OF_ORDERED_SAME) follow = false; @@ -1198,11 +1198,11 @@ } @end @implementation OFHTTPClient @synthesize delegate = _delegate; -@synthesize insecureRedirectsAllowed = _insecureRedirectsAllowed; +@synthesize allowsInsecureRedirects = _allowsInsecureRedirects; + (instancetype)client { return [[[self alloc] init] autorelease]; }