Multiple message-header fields handling

Igor Sysoev is at rambler-co.ru
Wed Oct 3 18:54:50 MSD 2007


On Wed, Oct 03, 2007 at 04:09:49PM +0200, Manlio Perillo wrote:

> Igor Sysoev ha scritto:
> >On Tue, Oct 02, 2007 at 10:02:38PM +0200, Manlio Perillo wrote:
> >
> >>I have found a "problem" with multiple message-header fields handling in 
> >>Nginx.
> >>
> >[...]
> >>Igor, do you plan to add this feature in a future version?
> >
> >nginx does not join headers as Apache does.
> 
> Ok.
> 
> >However, all headers are passed to a proxied server/etc as is if they
> >are not overwritten.
> 
> The problem is that a WSGI application receives the headers in a Python 
> dictionary (an associative array).
> This means that I MUST fold the headers.

All headers are available in r->headers_in.headers list.

> >As to the cookies nginx treats them specially and $http_cookie includes
> >all Cookie header fields.
> >
> 
> Cookies are a mess.
> Does nginx apply some for of preprocessing?

I do not understand the question.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list