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

Piotr Sikora piotr at cloudflare.com
Wed Nov 19 20:50:20 UTC 2014


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).

> 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.

Best regards,
Piotr Sikora



More information about the nginx-devel mailing list