summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorLucas Chollet <lucas.chollet@free.fr>2023-02-06 14:29:08 -0500
committerOndrej Holy <oholy@redhat.com>2023-02-08 09:07:37 +0000
commit4b95657e236f49bb7b9416230d69673fee57d4f8 (patch)
tree473eed005714a682e1a05c4e16349faa79e22813 /po
parenta70e9fbdf34768985925b2b81661190a094e718b (diff)
downloadgvfs-4b95657e236f49bb7b9416230d69673fee57d4f8.tar.gz
http: Fill `GFileInfo` with uncompressed sizes
Currently, using `FileProgressCallback` is quite confusing as `current_num_bytes` is in uncompressed bytes unlike `total_num_bytes` which is in compressed bytes. In order to solve this issue, we disable compression in `query_info` by setting the "Accept-Encoding" flag to `identity` (none). Then whenever `query_info_on_read` is called, we make sure that the request wasn't set to accept compresssion and fallback to `query_info` if it is the case. Fixes #195
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions