Welcome! Log In Create A New Profile

Advanced

1.3.x if-none-match only works if las-modified set

Brian Akins
March 11, 2013 01:06PM
in ngx_http_not_modified_header_filter

if (r->headers_out.status != NGX_HTTP_OK
|| r != r->main
|| r->headers_out.last_modified_time == -1)
{

So, it only checks if-match or if-none-match if last-modified is set.
Is this on purpose? I'm just wondering if we want to be able to check
etime without checking last-modified.

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

1.3.x if-none-match only works if las-modified set

Brian Akins 739 March 11, 2013 01:06PM

Re: 1.3.x if-none-match only works if las-modified set

Maxim Dounin 468 March 11, 2013 01:42PM

Re: 1.3.x if-none-match only works if las-modified set

Brian Akins 608 March 11, 2013 02:10PM



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

Online Users

Guests: 255
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready