comparison Lib/test/test_httpservers.py @ 68588:cd8d3c2d3bce 2.7

#11565: Fix several typos. Patch by Piotr Kasprzyk.
author Ezio Melotti <ezio.melotti@gmail.com>
date Wed, 16 Mar 2011 12:34:31 +0200
parents b36cb4602e21
children d1cde7081bf5
comparison
equal deleted inserted replaced
68577:93053ce76075 68588:cd8d3c2d3bce
85 self.connection = httplib.HTTPConnection('localhost', self.PORT) 85 self.connection = httplib.HTTPConnection('localhost', self.PORT)
86 self.connection.request(method, uri, body, headers) 86 self.connection.request(method, uri, body, headers)
87 return self.connection.getresponse() 87 return self.connection.getresponse()
88 88
89 class BaseHTTPRequestHandlerTestCase(unittest.TestCase): 89 class BaseHTTPRequestHandlerTestCase(unittest.TestCase):
90 """Test the functionaility of the BaseHTTPServer focussing on 90 """Test the functionality of the BaseHTTPServer focussing on
91 BaseHTTPRequestHandler. 91 BaseHTTPRequestHandler.
92 """ 92 """
93 93
94 HTTPResponseMatch = re.compile('HTTP/1.[0-9]+ 200 OK') 94 HTTPResponseMatch = re.compile('HTTP/1.[0-9]+ 200 OK')
95 95