(self, protocol, host_L6)
| 108 | return ret |
| 109 | |
| 110 | def connect(self, protocol, host_L6): |
| 111 | if protocol == 'http': |
| 112 | return HTTPConnection(host_L6) |
| 113 | else: |
| 114 | try: |
| 115 | uv_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) |
| 116 | return HTTPSConnection(host_L6, context=uv_context) |
| 117 | except AttributeError: |
| 118 | return HTTPSConnection(host_L6) |
| 119 | |
| 120 | def get_auth_headers(self, http_obj, method, path, headers): |
| 121 | if self.__auth_type == AUTH_BASIC: |
nothing calls this directly
no outgoing calls
no test coverage detected