[httputil.py] Word correction

This commit is contained in:
Cornel Punga 2015-05-25 10:44:11 +03:00
parent f5380632c2
commit 5b9ad4552d
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class HTTPServerRequest(object):
""" """
assert isinstance(chunk, bytes) assert isinstance(chunk, bytes)
assert self.version.startswith("HTTP/1."), \ assert self.version.startswith("HTTP/1."), \
"deprecated interface ony supported in HTTP/1.x" "deprecated interface only supported in HTTP/1.x"
self.connection.write(chunk, callback=callback) self.connection.write(chunk, callback=callback)
def finish(self): def finish(self):