diff --git a/dataproxy/app.py b/dataproxy/app.py index 8b4b974..280a4f4 100644 --- a/dataproxy/app.py +++ b/dataproxy/app.py @@ -236,7 +236,7 @@ def proxy_query(self, flow, url, query): # Get resource type - first try to see whether there is type= URL option, # if there is not, try to get it from file extension - if parts.scheme != 'http': + if parts.scheme not in ['http', 'https']: raise ResourceError('Only HTTP URLs are supported', 'Data proxy does not support %s URLs' % parts.scheme)