mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-22 02:48:26 +00:00
4aff6dde39
The client always appends "Basic" to the authorization header, however there are other auth schemes that can be used: https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication For example "Bearer" when using OAuth. This PR adds a `setAuthorizationType` method to the HTTPClient which allows this scheme to be configured by the caller. Authorization type is set to "Basic" by default so this will have no impact on existing usecases. |
||
---|---|---|
.. | ||
examples | ||
src | ||
library.properties |