docs: fix post_request hook signature description

The description incorrectly stated the callable accepts two parameters
(Worker and Request), but the signature shows four parameters including
environ and resp.

Closes #2592
This commit is contained in:
Benoit Chesneau 2026-01-23 10:56:07 +01:00
parent 7c22955837
commit 33e5337395

View File

@ -1947,7 +1947,8 @@ class PostRequest(Setting):
Called after a worker processes the request. Called after a worker processes the request.
The callable needs to accept two instance variables for the Worker and The callable needs to accept two instance variables for the Worker and
the Request. the Request. If a third parameter is defined it will be passed the
environment. If a fourth parameter is defined it will be passed the Response.
""" """