From: Igor Sysoev Date: Wed, 3 Mar 2010 15:08:06 +0000 (+0000) Subject: use a right "Location" header name, however, it did not harm, X-Git-Tag: release-0.8.34~5 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=e0538991ffe0937ec3f0eee7b9494979ea16239b;p=nginx.git use a right "Location" header name, however, it did not harm, since ngx_http_variable_sent_location() never use key name field --- diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c index 0f6f1731a..237911154 100644 --- a/src/http/ngx_http_header_filter_module.c +++ b/src/http/ngx_http_header_filter_module.c @@ -538,8 +538,8 @@ ngx_http_header_filter(ngx_http_request_t *r) r->headers_out.location->value.len = b->last - p; r->headers_out.location->value.data = p; - r->headers_out.location->key.len = sizeof("Location: ") - 1; - r->headers_out.location->key.data = (u_char *) "Location: "; + r->headers_out.location->key.len = sizeof("Location") - 1; + r->headers_out.location->key.data = (u_char *) "Location"; *b->last++ = CR; *b->last++ = LF; }