Returns the amount of time it took for this request to execute.
(self)
| 583 | return self.protocol + "://" + self.host + self.uri # type: ignore[operator] |
| 584 | |
| 585 | def request_time(self) -> float: |
| 586 | """Returns the amount of time it took for this request to execute.""" |
| 587 | if self._finish_time is None: |
| 588 | return time.time() - self._start_time |
| 589 | else: |
| 590 | return self._finish_time - self._start_time |
| 591 | |
| 592 | def get_ssl_certificate( |
| 593 | self, binary_form: bool = False |
no test coverage detected