Opened 10 years ago

Last modified 9 years ago

#22461 closed New feature

support for if-unmodified-since in the condition decorator — at Version 5

Reported by: tanner Owned by: nobody
Component: HTTP handling Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by tanner)

I have implemented support for the If-Unmodified-Since header
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.28
in the condition decorator

PR: https://github.com/django/django/pull/3764

UPDATE: In the previous version of this PR I had added updating of etags for write operations. However, the RFCs are quite confusing and the new HTTPs RFC 7231,7232,7234 did not improve the situation. Therefore I've removed those changes for now and would submit them as an independent patch.
(OLD: added an parameter to support updating of the etags for write operations http://tools.ietf.org/id/draft-reschke-http-etag-on-write-09.txt)

tests are included

Change History (5)

comment:2 by tanner, 10 years ago

Version: 1.6master

comment:3 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted

comment:4 by Tim Graham, 10 years ago

Needs documentation: set

I haven't reviewed the technical details of this patch, but it's missing documentation. Please uncheck "Needs documentation" when you update it, thanks.

comment:5 by tanner, 9 years ago

Description: modified (diff)
Needs documentation: unset
Summary: condition decorator: support fo if-unmodified-since and updating etagssupport for if-unmodified-since in the condition decorator
Note: See TracTickets for help on using tickets.
Back to Top