diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-01-23 01:28:35 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-01-23 01:30:35 +0100 |
commit | 01e5e98312389f09320f72b34e7be4f5f39f19da (patch) | |
tree | 34a8d3a041e0a8525b20050e4114a6f261c4e83c /core/io/http_client.h | |
parent | e363f404a5605517b1b901a7c90986741bc29d22 (diff) |
[Net] Fix get_response_body_length for large files.
Parsing was fixed, but not the return value for the exposed getter.
Diffstat (limited to 'core/io/http_client.h')
-rw-r--r-- | core/io/http_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client.h b/core/io/http_client.h index 8be6e6524c..90c859d685 100644 --- a/core/io/http_client.h +++ b/core/io/http_client.h @@ -180,7 +180,7 @@ public: virtual bool is_response_chunked() const = 0; virtual int get_response_code() const = 0; virtual Error get_response_headers(List<String> *r_response) = 0; - virtual int get_response_body_length() const = 0; + virtual int64_t get_response_body_length() const = 0; virtual PackedByteArray read_response_body_chunk() = 0; // Can't get body as partial text because of most encodings UTF8, gzip, etc. |