diff options
Diffstat (limited to 'DomainDig/RedirectChainService.swift')
| -rw-r--r-- | DomainDig/RedirectChainService.swift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DomainDig/RedirectChainService.swift b/DomainDig/RedirectChainService.swift index 7a23a5e..541e118 100644 --- a/DomainDig/RedirectChainService.swift +++ b/DomainDig/RedirectChainService.swift @@ -70,10 +70,10 @@ struct RedirectChainService { private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable { func urlSession( - _ session: URLSession, - task: URLSessionTask, - willPerformHTTPRedirection response: HTTPURLResponse, - newRequest request: URLRequest, + _ _: URLSession, + task _: URLSessionTask, + willPerformHTTPRedirection _: HTTPURLResponse, + newRequest _: URLRequest, completionHandler: @escaping (URLRequest?) -> Void ) { // Don't follow redirects automatically — return nil to stop |
