swift-server / async-http-client

HTTP client library built on SwiftNIO
https://swiftpackageindex.com/swift-server/async-http-client/main/documentation/asynchttpclient
Apache License 2.0
905 stars 117 forks source link

It would be appreciated and useful to have a mechanism within AHC to handle Digest Auth #687

Open Diggory opened 1 year ago

Diggory commented 1 year ago

Issue

Some HTTP requests require authentication. Basic auth is easy for the user to implement, but rarely used (I assume). More frequently, Digest authentication is required.

Digest Auth is more complex to implement and it would be useful for users of the package if it provided an implementation for this form of authentication. (This may require a dependency upon swift-crypto due to use of MD5 hashing.)

Lukasa commented 1 year ago

Yeah, this is a reasonable feature request.