]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Documentation Typo 1945/head
authorBrian Mego <brianmego@users.noreply.github.com>
Wed, 8 Feb 2017 21:30:41 +0000 (15:30 -0600)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2017 21:30:41 +0000 (15:30 -0600)
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

index 7ee83161825db731118f2685d70d010396d439db..b73acf71df8d883bc43933f3fe7c6ec22c368512 100644 (file)
@@ -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