mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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.
18 lines
561 B
Plaintext
18 lines
561 B
Plaintext
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
|