1482
socket, ('localhost', 80), httpd)
1486
request_handler = SmartRequestHandler(socket, ('localhost', 80), httpd)
1483
1487
response = socket.writefile.getvalue()
1484
1488
self.assertStartsWith(response, 'HTTP/1.0 200 ')
1485
1489
# This includes the end of the HTTP headers, and all the body.