You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user