No headers filter for a subrequest
Maxim Dounin
mdounin at mdounin.ru
Mon Mar 16 13:00:27 UTC 2015
Hello!
On Mon, Mar 16, 2015 at 03:48:45PM +0300, Marat Dakota wrote:
> Well, my problem is that I need these headers (I eat them from my module's
> header filter).
> I use subrequests for API calls. Does this mean that subrequests are the
> wrong way to do so? Do I need to use upstreams instead?
You can use/test headers that are already present in a response.
But the headers filter module won't add additional headers as it's
goal is to add headers visible in a response.
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list