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