[dev] Set-Cookie and Content-Disposition in upstream.c
Manlio Perillo
manlio_perillo at libero.it
Wed Dec 12 14:36:57 MSK 2007
Igor Sysoev ha scritto:
> On Wed, Dec 12, 2007 at 12:01:23PM +0100, Manlio Perillo wrote:
>
>> Igor Sysoev ha scritto:
>>> On Tue, Dec 11, 2007 at 09:02:54PM +0100, Manlio Perillo wrote:
>>>
>>>> I'm not sure to understand this code in ngx_http_upstream.c:
>>>>
>>>> { ngx_string("Set-Cookie"),
>>>> ngx_http_upstream_ignore_header_line, 0,
>>>> ngx_http_upstream_copy_header_line, 0, 1 },
>>>>
>>>> { ngx_string("Content-Disposition"),
>>>> ngx_http_upstream_ignore_header_line, 0,
>>>> ngx_http_upstream_copy_header_line, 0, 1 },
>>>>
> [...]
>> Ok, but isn't this done for the generic headers?
>>
> [...]
>
> Yes, but these headers are not generic, they have the "redirect" field set.
> So, they should to be inside headers hash with default handlers.
>
>
Thanks, I missed the redirect field.
Manlio Perillo
More information about the nginx
mailing list