From: daftshady Date: Fri, 12 Dec 2014 11:05:35 +0000 (+0900) Subject: comment typo X-Git-Tag: v4.2.0b1~80^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f033d5837614d6ff5a587be49944777b887be1;p=thirdparty%2Ftornado.git comment typo --- diff --git a/tornado/web.py b/tornado/web.py index f68967a06..2523b02f6 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -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)