]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
comment typo
authordaftshady <daftonshady@gmail.com>
Fri, 12 Dec 2014 11:05:35 +0000 (20:05 +0900)
committerdaftshady <daftonshady@gmail.com>
Thu, 5 Mar 2015 08:17:34 +0000 (17:17 +0900)
tornado/web.py

index f68967a06614f5c0be96bab7e2e3dbbb736c1533..2523b02f66621bc8ba086012cf383f5bd08aac73 100644 (file)
@@ -1314,7 +1314,7 @@ class RequestHandler(object):
         # Split If-None-Match with `,` because RFC 2616 allows multiple etag
         # values in a single header.
         inm = utf8(self.request.headers.get("If-None-Match", "")).split(',')
-        # For the case of weak validator, strip inm entities with `W\"`.
+        # For the case of weak validator, lstrip inm entities with `W/`.
         tags = [x.lstrip('W/') for x in inm]
         match = (inm[0] == '"*"') or (etag in tags)
         return bool(etag and match)