Skip to content

Commit

Permalink
Merge pull request tornadoweb#1945 from brianmego/patch-1
Browse files Browse the repository at this point in the history
Documentation Typo
  • Loading branch information
ajdavis authored Feb 8, 2017
2 parents 0721917 + 0c6eec0 commit 56f62f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/http1connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def _can_keep_alive(self, start_line, headers):
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
Expand Down

0 comments on commit 56f62f5

Please sign in to comment.