summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/io/http_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index 8c58e0ba5e..d7098b4c43 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;