MCPcopy
hub / github.com/benoitc/gunicorn / pre_request

Method pre_request

gunicorn/config.py:1958–1959  ·  view source on GitHub ↗
(worker, req)

Source from the content-addressed store, hash-verified

1956 type = callable
1957
1958 def pre_request(worker, req):
1959 worker.log.debug("%s %s", req.method, req.path)
1960 default = staticmethod(pre_request)
1961 desc = """\
1962 Called just before a worker processes the request.

Callers 7

_handle_http_requestMethod · 0.80
_handle_http2_requestMethod · 0.80
handle_requestMethod · 0.80
handle_http2_requestMethod · 0.80
handle_requestMethod · 0.80
handle_http2_requestMethod · 0.80
handle_requestMethod · 0.80

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected