Process HTTP-erroneous subrequests as normal subrequests

Marat Dakota dakota at
Sat Mar 7 19:55:36 UTC 2015


My module makes subrequests and eats the responses in header and body
filters. This works fine, when subrequests return 200. But if the
subrequest returns, for example 404, filters are not being called (I just
have my post subrequest callback called with 404 code and no filters

I want to read the response headers and body for the subrequests with 4xx
and 5xx too. How to do that?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list