[Net] Fix get_response_body_length for large files.

Parsing was fixed, but not the return value for the exposed getter.
This commit is contained in:
Fabio Alessandrelli 2022-01-23 01:28:35 +01:00
parent e363f404a5
commit 01e5e98312
5 changed files with 5 additions and 5 deletions

View file

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