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

Class LocalResponse

thirdparty/bottle/bottle.py:2321–2332  ·  view source on GitHub ↗

A thread-local subclass of :class:`BaseResponse` with a different set of attributes for each thread. There is usually only one global instance of this class (:data:`response`). Its attributes are used to build the HTTP response at the end of the request/response cycle.

Source from the content-addressed store, hash-verified

2319
2320
2321class LocalResponse(BaseResponse):
2322 """ A thread-local subclass of :class:`BaseResponse` with a different
2323 set of attributes for each thread. There is usually only one global
2324 instance of this class (:data:`response`). Its attributes are used
2325 to build the HTTP response at the end of the request/response cycle.
2326 """
2327 bind = BaseResponse.__init__
2328 _status_line = _local_property()
2329 _status_code = _local_property()
2330 _cookies = _local_property()
2331 _headers = _local_property()
2332 body = _local_property()
2333
2334
2335Request = BaseRequest

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…