Returns the amount of time it took for this request to execute.
(self)
| 411 | return self.protocol + "://" + self.host + self.uri # type: ignore[operator] |
| 412 | |
| 413 | def request_time(self) -> float: |
| 414 | """Returns the amount of time it took for this request to execute.""" |
| 415 | if self._finish_time is None: |
| 416 | return time.time() - self._start_time |
| 417 | else: |
| 418 | return self._finish_time - self._start_time |
| 419 | |
| 420 | def get_ssl_certificate( |
| 421 | self, binary_form: bool = False |
no test coverage detected