(self, req)
| 549 | self.has_auth_header = False |
| 550 | |
| 551 | def http_open(self, req): |
| 552 | if req.has_header('Authorization'): |
| 553 | self.has_auth_header = True |
| 554 | name = http.client.responses[self.code] |
| 555 | return MockResponse(self.code, name, MockFile(), "", req.get_full_url()) |
| 556 | |
| 557 | |
| 558 |
nothing calls this directly
no test coverage detected