diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp index 8c58e0ba5e9..d7098b4c430 100644 --- a/core/io/http_client.cpp +++ b/core/io/http_client.cpp @@ -303,6 +303,7 @@ Error HTTPClient::poll(){ chunked=false; body_left=0; chunk_left=0; + response_str.clear(); response_headers.clear(); response_num = RESPONSE_OK;