Flush HTTPClient response data only on request/close in HTML5 platform

This commit is contained in:
Leon Krause 2018-02-17 17:49:17 +01:00
parent ca9fa9cca8
commit 98039909f2

View File

@ -193,8 +193,6 @@ PoolByteArray HTTPClient::read_response_body_chunk() {
if (response_read_offset == polled_response.size()) {
status = STATUS_CONNECTED;
polled_response.resize(0);
polled_response_code = 0;
polled_response_header = String();
godot_xhr_reset(xhr_id);
}