Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Not Modified: prefer entity tags over date validators

Maxim Dounin
November 20, 2014 11:04AM
Hello!

On Wed, Nov 19, 2014 at 12:50:20PM -0800, Piotr Sikora wrote:

> Hey Maxim,
>
> > Current nginx behaviour is to respect both, and I don't see real
> > reasons to change the behaviour.
>
> How about adhering to RFC standards? RFC7232 clearly describes the
> precedence for evaluation of conditional requests (section 6) and puts
> even more emphasis on it by saying that If-(Un)modified-Since headers
> MUST (not SHOULD, MUST) be ignored when If-(None-)Match headers are
> present (section 3).

Sure. We do adhere RFC2616 here. The problem is that RFC7232 is
different, and there are no known reasons why it should. After
HTTPbis working group switched to working on HTTP/2 and introduced
GTFO frame, I tend to be very sceptical about their work.

> > A while ago I've tried to dig
> > into HTTPbis VCS and tracker to find out why this part of the
> > specification was changed from RFC2616, but failed.
>
> ETag is stronger validator than date, that's it.

The same applies to RFC2616, but it mandates different behaviour.
So what's the problem with checking both date and ETag?

--
Maxim Dounin
http://nginx.org/

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

[PATCH] Not Modified: prefer entity tags over date validators

Piotr Sikora 568 November 18, 2014 08:18PM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Maxim Dounin 255 November 19, 2014 11:36AM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Piotr Sikora 264 November 19, 2014 03:52PM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Maxim Dounin 284 November 20, 2014 11:04AM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Piotr Sikora 278 November 23, 2014 06:42AM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Maxim Dounin 256 November 24, 2014 10:30AM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Piotr Sikora 260 November 24, 2014 04:58PM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Maxim Dounin 252 November 25, 2014 08:52AM

Re: [PATCH] Not Modified: prefer entity tags over date validators

Piotr Sikora 248 November 25, 2014 07:58PM



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

Online Users

Guests: 231
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