Files
esphome/esphome/components
J. Nick Koston 8307eadda2 [http_request] Lowercase collect headers at config time, eliminate per-request overhead
Move header lowercasing from the per-request start() path to config time:
- Python codegen now lowercases collect_headers values before passing to C++
- add_collect_header() stores values as-is (already lowered by Python)
- start() with std::vector is now a direct passthrough to perform()
- Deprecated std::set overload still lowercases for external callers

Rename collect_headers_ to lower_case_collect_headers_ and update all
parameter names throughout the chain to make the lowercase invariant
explicit in the API contract.

This eliminates per-request allocation of a temporary vector and
str_lower_case() calls on every HTTP request, reducing stack usage
in the perform() call chain where stack space is critical for HTTPS
TLS handshakes.
2026-02-18 14:21:17 -06:00
..
2025-06-11 17:06:45 +12:00
2025-06-11 17:06:45 +12:00
2025-01-22 12:56:51 +13:00
2025-06-11 17:06:45 +12:00
2025-06-11 17:06:45 +12:00
2025-10-22 22:24:17 -04:00
2025-12-08 14:37:45 -05:00
2025-06-11 17:06:45 +12:00
2025-10-06 16:10:46 -04:00
2025-11-04 10:45:32 +13:00
2025-06-11 17:06:45 +12:00
2026-02-10 22:10:29 -05:00
2025-11-01 17:45:42 +11:00
2025-06-11 17:06:45 +12:00
2025-12-08 14:37:45 -05:00
2025-06-11 17:06:45 +12:00