ok2c commented on PR #934:
URL:
https://github.com/apache/httpcomponents-client/pull/934#issuecomment-6747297592
> 1. `BearerScheme` and `ScramScheme` take `challengeType` but still build
the scope with `new AuthScope(host, realm, getName())`, so it's dropped.
@Hsnmohd @arturobernalg I am getting old. Corrected.
> In match, challenge type gets +32, which outranks host (+16). Given new
AuthScope(null, null, -1, null, null, ChallengeType.TARGET) and new
AuthScope("api.example.com", 443), a TARGET request to api.example.com:443
picks the wildcard. I'd give challenge type the lowest weight so it only breaks
ties between otherwise equal scopes.
Agreed. Corrected.
> SystemDefaultCredentialsProvider is unchanged,
This is intentional. My changes were not intended to conflict with your pull
request, but to provide the necessary foundation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]