parameters: (self, request)
docstring: Perform HTTP Error 404
  
  		Args:
  			request (twisted.web.server.Request): HTTP request object
docstring_summary: Perform HTTP Error 404
docstring_tokens: Perform HTTP Error 404
function: def error404(self, request):
  		"""
  		Perform HTTP Error 404
  
  		Args:
  			request (twisted.web.server.Request): HTTP request object
  
  		"""
  		request.setHeader("content-type", "text/html")
  		request.setResponseCode(http.NOT_FOUND)
  		request.write(b"<html><head><title>Open Webif</title></head><body><h1>Error 404: Page not found</h1><br />The requested URL was not found on this server.</body></html>")
  		request.finish()
function_tokens: def error404 ( self , request ) : request . setHeader ( "content-type" , "text/html" ) request . setResponseCode ( http . NOT_FOUND ) request . write ( b"<html><head><title>Open Webif</title></head><body><h1>Error 404: Page not found</h1><br />The requested URL was not found on this server.</body></html>" ) request . finish ( )