Skip to content

Commit

Permalink
Merge pull request tornadoweb#1343 from browning/httpclient-exception…
Browse files Browse the repository at this point in the history
…-typo

Fix simple typo in httpclient exception message
  • Loading branch information
bdarnell committed Feb 20, 2015
2 parents 89c663e + 1f3f7e4 commit 502b1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado/simple_httpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def _on_connect(self, stream):
if ((body_expected and not body_present) or
(body_present and not body_expected)):
raise ValueError(
'Body must %sbe None for method %s (unelss '
'Body must %sbe None for method %s (unless '
'allow_nonstandard_methods is true)' %
('not ' if body_expected else '', self.request.method))
if self.request.expect_100_continue:
Expand Down

0 comments on commit 502b1ad

Please sign in to comment.