From: Brian Mego Date: Wed, 8 Feb 2017 21:30:41 +0000 (-0600) Subject: Documentation Typo X-Git-Tag: v4.5.0~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c6eec0b4a115682840b3b9851e954b4f683e8a5;p=thirdparty%2Ftornado.git Documentation Typo I kept misspelling "response" in my own project's docstrings and upon grepping to make sure it was totally wiped out, discovered it was also misspelled in here. Clearly the word has been misspelled since it's inception, but since we can't change English, let's update it here. --- diff --git a/tornado/http1connection.py b/tornado/http1connection.py index 7ee831618..b73acf71d 100644 --- a/tornado/http1connection.py +++ b/tornado/http1connection.py @@ -489,7 +489,7 @@ class HTTP1Connection(httputil.HTTPConnection): elif ("Content-Length" in headers or headers.get("Transfer-Encoding", "").lower() == "chunked" or getattr(start_line, 'method', None) in ("HEAD", "GET")): - # start_line may be a request or reponse start line; only + # start_line may be a request or response start line; only # the former has a method attribute. return connection_header == "keep-alive" return False