Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 8020:f8f6b9fee66a
FastCGI: combining headers with identical names (ticket #1724).
FastCGI responder is expected to receive CGI/1.1 environment variables
in the parameters (see section "6.2 Responder" of the FastCGI specification).
Obviously enough, there cannot be multiple environment variables with
the same name.
Further, CGI specification (RFC 3875, section "4.1.18. Protocol-Specific
Meta-Variables") explicitly requires to combine headers: "If multiple
header fields with the same field-name are received then the server MUST
rewrite them as a single value having the same semantics".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 30 May 2022 21:25:27 +0300 |
parents | 9cf043a5d9ca |
children | ef6a3a99a81a |
comparison
equal
deleted
inserted
replaced
8019:0e562a332529 | 8020:f8f6b9fee66a |
---|---|
240 off_t content_length_n; | 240 off_t content_length_n; |
241 time_t keep_alive_n; | 241 time_t keep_alive_n; |
242 | 242 |
243 unsigned connection_type:2; | 243 unsigned connection_type:2; |
244 unsigned chunked:1; | 244 unsigned chunked:1; |
245 unsigned multi:1; | |
246 unsigned multi_linked:1; | |
245 unsigned msie:1; | 247 unsigned msie:1; |
246 unsigned msie6:1; | 248 unsigned msie6:1; |
247 unsigned opera:1; | 249 unsigned opera:1; |
248 unsigned gecko:1; | 250 unsigned gecko:1; |
249 unsigned chrome:1; | 251 unsigned chrome:1; |