No headers filter for a subrequest
dakota at brokenpipe.ru
Mon Mar 16 13:11:04 UTC 2015
But I might copy-paste the code from ngx_http_headers_filter() to my header
filter, right? Or something will blow up eventually?
On Mon, Mar 16, 2015 at 4:00 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 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
> > 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
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel