MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / error403

Method error403

src/Ui/UiRequest.py:831–834  ·  view source on GitHub ↗
(self, message="", details=True)

Source from the content-addressed store, hash-verified

829
830 # You are not allowed to access this
831 def error403(self, message="", details=True):
832 self.sendHeader(403, noscript=True)
833 self.log.error("Error 403: %s" % message)
834 return self.formatError("Forbidden", message, details=details)
835
836 # Send file not found error
837 def error404(self, path=""):

Callers 9

routeMethod · 0.95
actionWrapperMethod · 0.95
actionSiteMediaMethod · 0.95
actionUiMediaMethod · 0.95
actionSiteAddMethod · 0.95
actionWebsocketMethod · 0.95
actionSiteMediaMethod · 0.80
routeMethod · 0.80
actionBigfileUploadMethod · 0.80

Calls 3

sendHeaderMethod · 0.95
formatErrorMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected