Espressif ESP32-S2 Programming Manual page 1121

Table of Contents

Advertisement

Chapter 2. API Reference
ESP HTTP client
Contains:
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH
CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS
Enable https
Found in:
Component config
This option will enable https protocol by linking esp-tls library and initializing SSL transport
Default value:
• Yes (enabled)
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH
Enable HTTP Basic Authentication
Found in:
Component config
This option will enable HTTP Basic Authentication. It is disabled by default as Basic auth uses unen-
crypted encoding, so it introduces a vulnerability when not using TLS
Default value:
• No (disabled)
CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH
Enable HTTP Digest Authentication
Found in:
Component config
This option will enable HTTP Digest Authentication. It is enabled by default, but use of this configuration
is not recommended as the password can be derived from the exchange, so it introduces a vulnerability
when not using TLS
Default value:
• Yes (enabled)
HTTP Server
Contains:
CONFIG_HTTPD_PURGE_BUF_LEN
CONFIG_HTTPD_LOG_PURGE_DATA
CONFIG_HTTPD_MAX_REQ_HDR_LEN
CONFIG_HTTPD_MAX_URI_LEN
CONFIG_HTTPD_ERR_RESP_NO_DELAY
CONFIG_HTTPD_WS_SUPPORT
CONFIG_HTTPD_MAX_REQ_HDR_LEN
Max HTTP Request Header Length
Found in:
Component config
This sets the maximum supported size of headers section in HTTP request packet to be processed by
the server
Default value:
• 512
Espressif Systems
>
ESP HTTP client
>
ESP HTTP client
>
ESP HTTP client
>
HTTP Server
1110
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF