23a8cbb247
There was existing support for adding authorization info in esp_http_client but it was functional only while using `esp_http_client_perform` API. This commit just moves existing authorization addition logic into publicly exposed API.
17 lines
561 B
Text
17 lines
561 B
Text
menu "ESP HTTP client"
|
|
|
|
|
|
config ESP_HTTP_CLIENT_ENABLE_HTTPS
|
|
bool "Enable https"
|
|
default y
|
|
help
|
|
This option will enable https protocol by linking mbedtls library and initializing SSL transport
|
|
|
|
config ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH
|
|
bool "Enable HTTP Basic Authentication"
|
|
default n
|
|
help
|
|
This option will enable HTTP Basic Authentication. It is disabled by default as Basic
|
|
auth uses unencrypted encoding, so it introduces a vulnerability when not using TLS
|
|
|
|
endmenu
|