Skip to content

Commit

Permalink
Fix ProxyFromSettingsMiddleware: set auth_encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
lopuhin committed Jun 14, 2016
1 parent 89d3d46 commit d3ecd49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autologin/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def from_crawler(cls, crawler):

def __init__(self, settings):
self.proxies = {}
self.auth_encoding = settings.get('HTTPPROXY_AUTH_ENCODING')
proxies = [
('http', settings.get('HTTP_PROXY')),
('https', settings.get('HTTPS_PROXY')),
Expand Down

0 comments on commit d3ecd49

Please sign in to comment.