code: def handle(self, sock, read_data, path, headers):
          "Sends back a static error page."
          try:
              sock.sendall("HTTP/1.0 %s %s\r\nConnection: close\r\nContent-length: 0\r\n\r\n" % (self.code, responses.get(self.code, "Unknown")))
          except socket.error, e:
              if e.errno != errno.EPIPE:
                  raisf handle(self, sock, read_data, path, headers):
          "Sends back a static error page."
          try:
              sock.sendall("HTTP/1.0 %s %s\r\nConnection: close\r\nContent-length: 0\r\n\r\n" % (self.code, responses.get(self.code, "Unknown")))
          except socket.error, e:
              if e.errno != errno.EPIPE:
                  raise
docs: Sends back a static error page.