Fix typo in example (\b should be \n in string literal).

This closes SF bug #414279.
This commit is contained in:
Fred Drake 2001-04-09 15:57:06 +00:00
parent 9c846366ee
commit 819815abea
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class http_client(asyncore.dispatcher):
self.path = path
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
self.connect( (host, 80) )
self.buffer = 'GET %s HTTP/1.0\r\b\r\n' % self.path
self.buffer = 'GET %s HTTP/1.0\r\n\r\n' % self.path
def handle_connect(self):
pass