From aa69ce421be1fb0d30f0d59b5c791328638f3a48 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Wed, 4 Dec 2024 09:18:32 +0100 Subject: [PATCH] URLStream --- src/AudioTools/CoreAudio/AudioHttp/URLStream.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/AudioTools/CoreAudio/AudioHttp/URLStream.h b/src/AudioTools/CoreAudio/AudioHttp/URLStream.h index 0a81d77af..db901f85a 100644 --- a/src/AudioTools/CoreAudio/AudioHttp/URLStream.h +++ b/src/AudioTools/CoreAudio/AudioHttp/URLStream.h @@ -4,10 +4,10 @@ #ifdef USE_URL_ARDUINO #if defined(ESP32) -#include -#include -#include -#include +# include +# include +# include +# include #endif #include "AbstractURLStream.h" @@ -305,8 +305,8 @@ class URLStream : public AbstractURLStream { return false; } } - #endif + // request.reply().setAutoCreateLines(false); if (acceptMime != nullptr) { request.setAcceptMime(acceptMime); @@ -332,9 +332,10 @@ class URLStream : public AbstractURLStream { if (!is_power_save) { esp_wifi_set_ps(WIFI_PS_NONE); } +#endif + return true; } -#endif /// Process the Http request and handle redirects template