Method
wsgi
starlette/middleware/wsgi.py:145–156
· starlette/middleware/wsgi.py::WSGIResponder.wsgi
(
self,
environ: dict[str, Any],
start_response: Callable[..., Any],
)
Source from the content-addressed store, hash-verified
| 143 | ) |
| 144 | |
| 145 | def wsgi( |
| 146 | self, |
| 147 | environ: dict[str, Any], |
| 148 | start_response: Callable[..., Any], |
| 149 | ) -> None: |
| 150 | for chunk in self.app(environ, start_response): |
| 151 | anyio.from_thread.run( |
| 152 | self.stream_send.send, |
| 153 | {class="st">"type": class="st">"http.response.body", class="st">"body": chunk, class="st">"more_body": True}, |
| 154 | ) |
| 155 | |
| 156 | anyio.from_thread.run(self.stream_send.send, {class="st">"type": class="st">"http.response.body", class="st">"body": bclass="st">""}) |
Callers
nothing calls this directly
Tested by
no test coverage detected