🚨 Remove trailing whitespace

This commit is contained in:
Ben Chatelain 2020-05-14 21:59:15 -06:00
parent 539678b045
commit 5166fcf1c2

View file

@ -14,7 +14,7 @@ class TestURLSessionDelegate: NSObject, URLSessionDelegate {
didReceive challenge: URLAuthenticationChallenge, didReceive challenge: URLAuthenticationChallenge,
completionHandler: (URLSession.AuthChallengeDisposition, completionHandler: (URLSession.AuthChallengeDisposition,
URLCredential?) -> Void) { URLCredential?) -> Void) {
// For example, you may want to override this to accept some self-signed certs here. // For example, you may want to override this to accept some self-signed certs here.
if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust, if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
Constants.selfSignedHosts.contains(challenge.protectionSpace.host) { Constants.selfSignedHosts.contains(challenge.protectionSpace.host) {