Process HTTP-erroneous subrequests as normal subrequests

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


Hi,

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
callbacks).

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

Thanks.

--
Marat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150307/111358ff/attachment.html>


More information about the nginx-devel mailing list