When using a file:// or ftp:// URL the normal provisions that a non-200 status code means error have been disabled. But the common error status -1 from fetch_url is not properly returning an error message. This fix ensures that if the status code returns -1, we return a proper error message. This fixes #3563 |
||
---|---|---|
.. | ||
__init__.py | ||
get_url.py | ||
slurp.py | ||
uri.py |