def handle(self, sock, read_data, path, headers):
try:<EOL><INDENT>sock.sendall("<STR_LIT>" % (self.code, responses.get(self.code, "<STR_LIT>")))<EOL><DEDENT>except socket.error as e:<EOL><INDENT>if e.errno != errno.EPIPE:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>
Sends back a static error page.