diff options
| author | Vasiliy Faronov <vfaronov@gmail.com> | 2016-05-02 15:35:05 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-03 11:14:40 -0400 |
| commit | ac77c55bc5fc54cd763a7ae426784650a8cc97c9 (patch) | |
| tree | aaf79c0eebbbad7d15c26f308de7ec47d1a81405 /docs/topics/conditional-view-processing.txt | |
| parent | fb68674ea4b05280e3deb2ed23602038755092bc (diff) | |
Fixed #26567 -- Updated references to obsolete RFC2616.
Didn't touch comments where it wasn't obvious that the code adhered to
the newer standard.
Diffstat (limited to 'docs/topics/conditional-view-processing.txt')
| -rw-r--r-- | docs/topics/conditional-view-processing.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/conditional-view-processing.txt b/docs/topics/conditional-view-processing.txt index 742926e759..19cfae3fb1 100644 --- a/docs/topics/conditional-view-processing.txt +++ b/docs/topics/conditional-view-processing.txt @@ -25,10 +25,10 @@ Depending on the header, if the page has been modified or does not match the ``ETag`` sent by the client, a 412 status code (Precondition Failed) may be returned. -.. _If-match: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24 -.. _If-none-match: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 -.. _If-modified-since: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25 -.. _If-unmodified-since: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.28 +.. _If-match: https://tools.ietf.org/html/rfc7232#section-3.1 +.. _If-none-match: https://tools.ietf.org/html/rfc7232#section-3.2 +.. _If-modified-since: https://tools.ietf.org/html/rfc7232#section-3.3 +.. _If-unmodified-since: https://tools.ietf.org/html/rfc7232#section-3.4 When you need more fine-grained control you may use per-view conditional processing functions. @@ -45,7 +45,7 @@ functions to provide an "early bailout" option for the view processing. Telling the client that the content has not been modified since the last request, perhaps. -.. _ETag: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 +.. _ETag: https://tools.ietf.org/html/rfc7232#section-2.3 These two functions are passed as parameters the ``django.views.decorators.http.condition`` decorator. This decorator uses |
