[Net] Fix get_response_body_length for large files.

Parsing was fixed, but not the return value for the exposed getter.

(cherry picked from commit 01e5e98312)
This commit is contained in:
Fabio Alessandrelli 2022-01-23 01:28:35 +01:00 committed by Rémi Verschelde
parent dd57c321bf
commit 822da984bb
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ Error HTTPClient::get_response_headers(List<String> *r_response) {
return OK;
}
int HTTPClient::get_response_body_length() const {
int64_t HTTPClient::get_response_body_length() const {
return godot_js_fetch_body_length_get(js_id);
}