libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Liu (JIRA)" <>
Subject [jira] [Created] (LIBCLOUD-1034) http proxy while https request
Date Sun, 27 Jan 2019 07:31:00 GMT
Jim Liu created LIBCLOUD-1034:

             Summary: http proxy while https request
                 Key: LIBCLOUD-1034
             Project: Libcloud
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.4.0
         Environment: any env with tag2.4.0
            Reporter: Jim Liu

Hello everyone, first apologize my poor english

im beginner and i have a question about http proxy(

from here:
if parsed.scheme != 'http':
 raise ValueError('Only http proxies are supported')

i guess this code means we cant use proxy on https requests, sounds not cool for nowadays

from here:
self.session.proxies = {
 # requests assume `self.proxy_scheme` as http/https protocol
 # so if we want proxy our https request
 # we need 2 add `'https': ''` instead of `http` k/v pair
 self.proxy_scheme: proxy_url

i dont know if this `self.proxy_scheme` has other meaning or not
please let me know if i have any misunderstand or mistake, Thanks <3


This message was sent by Atlassian JIRA

View raw message