Fix typo in example (\b should be \n in string literal).
authorFred Drake <fdrake@acm.org>
Mon, 9 Apr 2001 15:57:06 +0000 (15:57 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 9 Apr 2001 15:57:06 +0000 (15:57 +0000)
This closes SF bug #414279.

Doc/lib/libasyncore.tex

index 3c42c3c920ecb0e38b980d1a3f8d0207162726a2..cce0d50ebea913b5a2bc5fc7f62fd2b1e32020dc 100644 (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