[dev] Set-Cookie and Content-Disposition in upstream.c

Manlio Perillo manlio_perillo at libero.it
Tue Dec 11 23:02:54 MSK 2007


Hi.


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 },


Isn't this code superfluous?



Thanks  Manlio Perillo





More information about the nginx mailing list