Browse Source

adds original http header to response_headers

Ariel Manzur 9 năm trước cách đây
mục cha
commit
5e36ae3bb6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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());
 						}
 
 					}