A thread-local subclass of :class:`BaseRequest` with a different set of attributes for each thread. There is usually only one global instance of this class (:data:`request`). If accessed during a request/response cycle, this instance always refers to the *current* re
| 2309 | |
| 2310 | |
| 2311 | class LocalRequest(BaseRequest): |
| 2312 | """ A thread-local subclass of :class:`BaseRequest` with a different |
| 2313 | set of attributes for each thread. There is usually only one global |
| 2314 | instance of this class (:data:`request`). If accessed during a |
| 2315 | request/response cycle, this instance always refers to the *current* |
| 2316 | request (even on a multithreaded server). """ |
| 2317 | bind = BaseRequest.__init__ |
| 2318 | environ = _local_property() |
| 2319 | |
| 2320 | |
| 2321 | class LocalResponse(BaseResponse): |
no test coverage detected
searching dependent graphs…