Opened 10 years ago

Closed 9 years ago

#22461 closed New feature (fixed)

support for if-unmodified-since in the condition decorator

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 (6)

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

comment:6 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In b27db97b236569d059fa824c3078e06adf8b4fae:

Fixed #22461 -- Added if-unmodified-since support to the condition decorator.

Note: See TracTickets for help on using tickets.
Back to Top