[http_request] Fix for host after ArduinoJson library bump (#10348)

This commit is contained in:
Clyde Stubbs
2025-08-25 05:55:44 +10:00
committed by Jesse Hills
parent 0de7259428
commit 50408d9abb
3 changed files with 13 additions and 10 deletions

View File

@@ -1,7 +1,10 @@
#include "http_request_host.h"
#ifdef USE_HOST
#define USE_HTTP_REQUEST_HOST_H
#define CPPHTTPLIB_NO_EXCEPTIONS
#include "httplib.h"
#include "http_request_host.h"
#include <regex>
#include "esphome/components/network/util.h"
#include "esphome/components/watchdog/watchdog.h"