From 0c6eec0b4a115682840b3b9851e954b4f683e8a5 Mon Sep 17 00:00:00 2001 From: Brian Mego Date: Wed, 8 Feb 2017 15:30:41 -0600 Subject: [PATCH] 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. --- tornado/http1connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2