From 39937914c34ca2caf8358f17d09a921404f81ca9 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 22 Aug 2011 14:11:39 +0200 Subject: [PATCH] fix post_request config --- gunicorn/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index dc4e8d48..afb5d684 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -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 = """\