Jelajahi Sumber

adds original http header to response_headers

Ariel Manzur 9 tahun lalu
induk
melakukan
5e36ae3bb6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();
 							response_num=num.to_int();
 						} else {
 						} else {
 
 
-							response_headers.push_back(s);
+							response_headers.push_back(responses[i].strip_edges());
 						}
 						}
 
 
 					}
 					}