Browse Source

fix - HTTPClient connection keep-alive duplicate Headers #4208

Alexander Holland 9 years ago
parent
commit
6ad226ac38
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/io/http_client.cpp

+ 1 - 0
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;