(self, http_obj, method, path, headers)
| 118 | return HTTPSConnection(host_L6) |
| 119 | |
| 120 | def get_auth_headers(self, http_obj, method, path, headers): |
| 121 | if self.__auth_type == AUTH_BASIC: |
| 122 | return self.get_auth_headers_basic(http_obj, method, path, headers) |
| 123 | elif self.__auth_type in [AUTH_AUTO, AUTH_NTLM]: |
| 124 | return self.get_auth_headers_auto(http_obj, method, path, headers) |
| 125 | else: |
| 126 | raise Exception('%s auth type not supported' % self.__auth_type) |
| 127 | |
| 128 | def get_auth_headers_basic(self, http_obj, method, path, headers): |
| 129 | if self.__lmhash != '' or self.__nthash != '' or \ |
no test coverage detected