Welcome! Log In Create A New Profile

Advanced

Re: No headers filter for a subrequest

Marat Dakota
March 16, 2015 08:50AM
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?


On Mon, Mar 16, 2015 at 3:39 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Mon, Mar 16, 2015 at 03:32:30PM +0300, Marat Dakota wrote:
>
> > I also might have:
> >
> > /location3 {
> > proxy_pass https://www.blabla;
> > }
> >
> > In this case my subrequest has the response headers from www.blabla. This
> > means that the statement that there are no headers in subrequest
> responses
> > is not completely correct.
>
> In either case headers returned to the client are ones returned by
> the main request. Anything else, if present for some unrelated
> reasons, will be thrown away.
>
> [...]
>
> --
> 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
Subject Author Views Posted

No headers filter for a subrequest

Marat Dakota 633 March 16, 2015 08:16AM

Re: No headers filter for a subrequest

Maxim Dounin 868 March 16, 2015 08:24AM

Re: No headers filter for a subrequest

Marat Dakota 382 March 16, 2015 08:28AM

Re: No headers filter for a subrequest

Marat Dakota 396 March 16, 2015 08:36AM

Re: No headers filter for a subrequest

Maxim Dounin 334 March 16, 2015 08:40AM

Re: No headers filter for a subrequest

Marat Dakota 331 March 16, 2015 08:50AM

Re: No headers filter for a subrequest

Maxim Dounin 341 March 16, 2015 09:02AM

Re: No headers filter for a subrequest

Marat Dakota 361 March 16, 2015 09:12AM

Re: No headers filter for a subrequest

Maxim Dounin 335 March 16, 2015 09:18AM

Re: No headers filter for a subrequest

Marat Dakota 363 March 16, 2015 09:30AM

Re: No headers filter for a subrequest

Maxim Dounin 352 March 16, 2015 10:00AM

Re: No headers filter for a subrequest

Yichun Zhang (agentzh) 394 March 16, 2015 04:56PM



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

Online Users

Guests: 292
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