Wrap existing Response in case of Range Request context.
(self, start: int, length: int)
| 632 | return ResponseStream(self) |
| 633 | |
| 634 | def _wrap_range_response(self, start: int, length: int) -> None: |
| 635 | """Wrap existing Response in case of Range Request context.""" |
| 636 | if self.status_code == 206: |
| 637 | self.response = _RangeWrapper(self.response, start, length) # type: ignore |
| 638 | |
| 639 | def _is_range_request_processable(self, environ: WSGIEnvironment) -> bool: |
| 640 | """Return ``True`` if `Range` header is present and if underlying |
no test coverage detected