mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix post_request config
This commit is contained in:
parent
8c35e48e7e
commit
39937914c3
@ -728,9 +728,9 @@ class PreRequest(Setting):
|
||||
class PostRequest(Setting):
|
||||
name = "post_request"
|
||||
section = "Server Hooks"
|
||||
validator = validate_callable(2)
|
||||
validator = validate_callable(3)
|
||||
type = "callable"
|
||||
def post_request(worker, req):
|
||||
def post_request(worker, req, environ):
|
||||
pass
|
||||
default = staticmethod(post_request)
|
||||
desc = """\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user