Skip to content

Commit

Permalink
[app,bugfix][xs]: support https as well as http (check to exclude e.g…
Browse files Browse the repository at this point in the history
…. ftp was checking for http only).
  • Loading branch information
rufuspollock committed Mar 25, 2012
1 parent 24675e7 commit c4ac6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataproxy/app.py
Expand Up @@ -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)

Expand Down

0 comments on commit c4ac6a1

Please sign in to comment.