No headers filter for a subrequest
mdounin at mdounin.ru
Mon Mar 16 13:00:27 UTC 2015
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.
More information about the nginx-devel