diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-04-03 19:12:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-05 12:22:07 +0200 |
commit | 6d930d730600771f15ab048a123f253ce4751786 (patch) | |
tree | fe9912900d98e455f453a3354731a89bf52d757e /tests/data/test555 | |
parent | f6bbc3407ad6c62e44c0b87da84c5a8ffa5560ee (diff) | |
download | curl-6d930d730600771f15ab048a123f253ce4751786.tar.gz |
file: support GETing directories again
After 957bc1881e686f9714c4e6a01bf33535091f0e21, we no longer compute an
expected_size for directories. This has the upshot that when we compare
even an empty Range with the available size, we fail.
This brings back the previous behaviour, which was to succeed, but with
empty content. This also removes the "Accept-ranges: bytes" header,
which is nonsensical on directories.
Adds test 3016
Fixes #6845
Closes #6846
Diffstat (limited to 'tests/data/test555')
0 files changed, 0 insertions, 0 deletions