Welcome! Log In Create A New Profile

Advanced

Process HTTP-erroneous subrequests as normal subrequests

Marat Dakota
March 07, 2015 02:56PM
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Process HTTP-erroneous subrequests as normal subrequests

Marat Dakota 592 March 07, 2015 02:56PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready