Bug introduced in 11.0 and persists through 11.3
The original problem is was fixed in V11.2 but since then it returns
File[path/to/file/that/does/not/exits] instead of
401 Failure/HTTPResponse like
CASE:3877019 - confirmed
The second one prompts the dialog:
URLRead["https://httpbin.org/status/401", Interactive -> False]
URLDownload["https://httpbin.org/status/401", Interactive -> False]
but both should return 401 HTTPResponse since
URLDownloadtakes the options as
True- whether to allow interactive authentication dialogs
Have I missed something? Is there a workaround?
It probably can be narrowed to
URLSave broken for
"DisplayProxyDialog" -> False, but this is undocumented so I can't complain.