Skip to content

Commit 6a09567

Browse files
committed
httpclient: support authentication
Store the last-seen credential challenges (eg, all the 'WWW-Authenticate' headers in a response message). Given some credentials, find the best (first) challenge whose mechanism supports these credentials. (eg, 'Basic' supports username/password credentials, 'Negotiate' supports default credentials). Set up an authentication context for this mechanism and these credentials. Continue exchanging challenge/responses until we're authenticated.
1 parent 0e39a8f commit 6a09567

File tree

2 files changed

+373
-8
lines changed

2 files changed

+373
-8
lines changed

0 commit comments

Comments
 (0)