Restore handling of HTTPS

This commit is contained in:
paul 2012-04-12 00:16:03 +02:00 committed by Daniel Graña
parent 46341d5275
commit ef03603869
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
"""Download handlers for http scheme"""
"""Download handlers for http and https schemes"""
from twisted.internet import reactor
@ -42,7 +42,7 @@ def _parsed_url_args(parsed):
scheme = parsed.scheme
netloc = parsed.netloc
if port is None:
port = 80
port = 443 if scheme == 'https' else 80
return scheme, netloc, host, port, path