Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4315 - trunk/src/http/modules

Anonymous User
November 28, 2011 05:02AM
Author: mdounin
Date: 2011-11-28 10:00:47 +0000 (Mon, 28 Nov 2011)
New Revision: 4315

Log:
Allowed add_header for proxied 206 replies.

It was working for nginx's own 206 replies as they are seen as 200 in the
headers filter module (range filter goes later in the headers filter chain),
but not for proxied replies.


Modified:
trunk/src/http/modules/ngx_http_headers_filter_module.c

Modified: trunk/src/http/modules/ngx_http_headers_filter_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_headers_filter_module.c 2011-11-28 09:15:33 UTC (rev 4314)
+++ trunk/src/http/modules/ngx_http_headers_filter_module.c 2011-11-28 10:00:47 UTC (rev 4315)
@@ -145,6 +145,7 @@
|| r != r->main
|| (r->headers_out.status != NGX_HTTP_OK
&& r->headers_out.status != NGX_HTTP_NO_CONTENT
+ && r->headers_out.status != NGX_HTTP_PARTIAL_CONTENT
&& r->headers_out.status != NGX_HTTP_MOVED_PERMANENTLY
&& r->headers_out.status != NGX_HTTP_MOVED_TEMPORARILY
&& r->headers_out.status != NGX_HTTP_NOT_MODIFIED))

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4315 - trunk/src/http/modules

Anonymous User 1225 November 28, 2011 05:02AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready