[ANNOUNCE] auth request module 0.2
Maxim Dounin
mdounin at mdounin.ru
Tue Jun 21 22:38:23 MSD 2011
Hello!
On Tue, Jun 21, 2011 at 02:00:21PM -0400, adamchal wrote:
> OK, you're absolutely right. I didn't have that line in there. I'm
> trying to follow the reasoning for needing to zero-out request body, but
> it doesn't make immediate sense. Is the OP in this thread along the
> same lines? http://forum.nginx.org/read.php?2,206860
Auth request doesn't read request body, and subrequest used for
auth will have no body but the same headers as original request.
Thus it's needed to clear Content-Length if you are going to
proxy_pass auth subrequest somewhere.
Maxim Dounin
More information about the nginx
mailing list