Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
17 lines
437 B
Python
17 lines
437 B
Python
import esphome.config_validation as cv
|
|
from esphome.components.esp32 import add_idf_sdkconfig_option
|
|
|
|
CODEOWNERS = ["@dentra"]
|
|
|
|
CONFIG_SCHEMA = cv.All(
|
|
cv.Schema({}),
|
|
cv.only_with_esp_idf,
|
|
)
|
|
|
|
AUTO_LOAD = ["web_server"]
|
|
|
|
|
|
async def to_code(config):
|
|
# Increase the maximum supported size of headers section in HTTP request packet to be processed by the server
|
|
add_idf_sdkconfig_option("CONFIG_HTTPD_MAX_REQ_HDR_LEN", 1024)
|