#22461 closed New feature (fixed)

support for if-unmodified-since in the condition decorator

Reported by: tanner Owned by: nobody
Component: HTTP handling Version: master
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
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:1 Changed 18 months ago by tanner

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 18 months ago by tanner

  • Version changed from 1.6 to master

comment:3 Changed 18 months ago by timo

  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 14 months ago by timgraham

  • 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 Changed 10 months ago by tanner

  • Description modified (diff)
  • Needs documentation unset
  • Summary changed from condition decorator: support fo if-unmodified-since and updating etags to support for if-unmodified-since in the condition decorator

comment:6 Changed 10 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In b27db97b236569d059fa824c3078e06adf8b4fae:

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

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