MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / LocalRequest

Class LocalRequest

thirdparty/bottle/bottle.py:2311–2318  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2309
2310
2311class 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
2321class LocalResponse(BaseResponse):

Callers 1

bottle.pyFile · 0.85

Calls 1

_local_propertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…