[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 committed 2022-01-23 01:30:35 +01:00
1 parent e363f404a5
commit 01e5e98312
5 files changed
+5 -5

No files matched your search

@@ -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);
}