diff --git a/src/core/shuntingYard.cpp b/src/core/shuntingYard.cpp index 4908f91c0..f15c54fc7 100644 --- a/src/core/shuntingYard.cpp +++ b/src/core/shuntingYard.cpp @@ -688,7 +688,6 @@ std::string calculate(const std::string & expr) { // perform an HTTP/HTTPS request; returns the HTTP status code (0 on failure or unsupported scheme) // the response headers are always stripped, so `result` contains only the body -// uses ESP_SSLClient for both schemes (SSL is disabled for plain HTTP), avoiding the HTTPClient dependency int http_request(std::string url, const std::string & method, const std::string & value, JsonObjectConst headers, std::string & result) { int httpResult = 0; const bool is_post = value.length() || Helpers::toLower(method) == "post"; diff --git a/src/core/system.cpp b/src/core/system.cpp index 969cd21fb..29166133c 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2956,9 +2956,6 @@ bool System::uploadFirmwareURL(const char * url) { Shell::loop_all(); // flush log buffers so latest messages are shown in console - // detect scheme (case-insensitive). Everything below uses the same code path - // for HTTP and HTTPS - ESP_SSLClient is configured as a plain TCP passthrough - // when SSL is disabled, so we don't need HTTPClient at all. String scheme = saved_url.substring(0, 8); scheme.toLowerCase(); const bool is_https = scheme.startsWith("https://");