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 <mdou...@mdounin.ru> wrote: > 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/ > > _______________________________________________ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel >
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel