#22461 condition decorator: support for if-unmodified-since and updating etags

see ticket https://code.djangoproject.com/ticket/22461