コード例 #1
0
 def notfound(self):
     """Returns HTTPError with '404 not found' message"""
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()
コード例 #2
0
ファイル: application.py プロジェクト: alustig/OSPi
 def notfound(self):
     """Returns HTTPError with '404 not found' message"""
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()
コード例 #3
0
ファイル: application.py プロジェクト: xuechao8086/tinyhttpd
 def notfound(self):
     parent = self.get_parent_app()
     if parent:
         return parent.notfound()
     else:
         return web._NotFound()