Browse Source

adds original http header to response_headers

Ariel Manzur 9 years ago
parent
commit
5e36ae3bb6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/io/http_client.cpp

+ 1 - 1
core/io/http_client.cpp

@@ -330,7 +330,7 @@ Error HTTPClient::poll(){
 							response_num=num.to_int();
 						} else {
 
-							response_headers.push_back(s);
+							response_headers.push_back(responses[i].strip_edges());
 						}
 
 					}