浏览代码

Fixed #11904 -- Fixed error in conditional-view-processing.txt. Thanks, bronger and timo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Adrian Holovaty 15 年之前
父节点
当前提交
bef891399e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/topics/conditional-view-processing.txt

+ 3 - 3
docs/topics/conditional-view-processing.txt

@@ -21,9 +21,9 @@ middleware to set the ``ETag`` header.
 When the client next requests the same resource, it might send along a header
 such as `If-modified-since`_, containing the date of the last modification
 time it was sent, or `If-none-match`_, containing the ``ETag`` it was sent.
-If there is no match with the ETag, or if the resource has not been modified,
-a 304 status code can be sent back, instead of a full response, telling the
-client that nothing has changed.
+If the current version of the page matches the ``ETag`` sent by the client, or
+if the resource has not been modified, a 304 status code can be sent back,
+instead of a full response, telling the client that nothing has changed.
 
 .. _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