On Tue, 15 Dec 2020, Lukas Friembichler via curl-library wrote:
To be honest I'm not even sure why the SIZE command is issued at all (I'm not interested in that..)
If you don't end the URL with a trailing slash, curl will assume it is a file and then it will SIZE it and will consider a 550 to mean that it doesn't exist.
I will agree that it is a change in behavior, but the change is that it now treats the 550 to mean what it says. I think you can instead *not* ask to get a file downloaded that is a directory! =)
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html