Apply URLFetchStrategy to ftp:// and ftps:// url schemes (#13939)

* Apply URLFetchStrategy to ftp:// and ftps:// url schemes

* Corrected trailing whitespace error
This commit is contained in:
Andras Wacha 2019-12-09 18:18:08 +01:00 committed by Adam J. Stewart
parent 1d06949306
commit b33b8a3e29

View file

@ -1311,7 +1311,9 @@ def from_url_scheme(url, *args, **kwargs):
{
'file': 'url',
'http': 'url',
'https': 'url'
'https': 'url',
'ftp': 'url',
'ftps': 'url',
})
scheme = parsed_url.scheme