You can now use DefaultHTTPClientDelegate.httpClient(_:request:didReceive:completion:) to handle authentication challenges (e.g. Basic) with DefaultHTTPClient.
This simply forwards the native URLSession's authentication challenges to the DefaultHTTPClient delegate.
Added
Shared
DefaultHTTPClientDelegate.httpClient(_:request:didReceive:completion:)
to handle authentication challenges (e.g. Basic) withDefaultHTTPClient
.This simply forwards the native
URLSession
's authentication challenges to theDefaultHTTPClient
delegate.