(self, host, type)
| 356 | return self.full_url |
| 357 | |
| 358 | def set_proxy(self, host, type): |
| 359 | if self.type == 'https' and not self._tunnel_host: |
| 360 | self._tunnel_host = self.host |
| 361 | else: |
| 362 | self.type= type |
| 363 | self.selector = self.full_url |
| 364 | self.host = host |
| 365 | |
| 366 | def has_proxy(self): |
| 367 | return self.selector == self.full_url |
no outgoing calls