summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorAriel Manzur <ariel@okamstudio.com>2016-02-19 17:02:03 -0300
committerAriel Manzur <ariel@okamstudio.com>2016-02-19 17:13:29 -0300
commit5e36ae3bb6bc2a5670d217e03f011f209b7c9890 (patch)
treeddb57c15f374ca7ec276ecd6d27a2f9f26c4152d /core/io
parent0dce4f7eb2ff28572d978edd8c2fc8031d468872 (diff)
adds original http header to response_headers
Diffstat (limited to 'core/io')
-rw-r--r--core/io/http_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index 19a7286dcf..1be3290e41 100644
--- a/core/io/http_client.cpp
+++ b/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());
}
}