1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Small fixes, mostly dupicated code

This commit is contained in:
qarmin
2019-04-08 11:03:37 +02:00
parent c2c11fc063
commit 856a8226a5
29 changed files with 32 additions and 60 deletions

View File

@@ -286,7 +286,7 @@ bool HTTPRequest::_update_connection() {
call_deferred("_request_done", RESULT_SUCCESS, response_code, response_headers, PoolByteArray());
return true;
}
if (got_response && body_len < 0) {
if (body_len < 0) {
// Chunked transfer is done
call_deferred("_request_done", RESULT_SUCCESS, response_code, response_headers, body);
return true;