From ef0360386921cf7b05f8b5e78554989072def5fd Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 12 Apr 2012 00:16:03 +0200 Subject: [PATCH] Restore handling of HTTPS --- scrapy/core/downloader/handlers/http11.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapy/core/downloader/handlers/http11.py b/scrapy/core/downloader/handlers/http11.py index 2c4c4e188..78ece7324 100644 --- a/scrapy/core/downloader/handlers/http11.py +++ b/scrapy/core/downloader/handlers/http11.py @@ -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