(h: Dict[str, str])
| 135 | return h |
| 136 | |
| 137 | def do_req(h: Dict[str, str]) -> Tuple[HTTPMessage, str, int]: |
| 138 | return http_req( |
| 139 | hostname=self.host, |
| 140 | port=self.port, |
| 141 | endpoint=endpoint, |
| 142 | headers=h, |
| 143 | method=method, |
| 144 | data=data, |
| 145 | timeout=timeout, |
| 146 | ) |
| 147 | |
| 148 | try: |
| 149 | return do_req(req_headers()) |
nothing calls this directly
no test coverage detected