コード例 #1
0
ファイル: b1_example.py プロジェクト: 650Industries/bunny1
 def header_gif(self):
     """the banner GIF for the bunny1 homepage"""
     cherrypy.response.headers["Content-Type"] = "image/gif"
     return bunny1.bunny1_file("header.gif")
コード例 #2
0
 def header_gif(self):
     """the banner GIF for the bunny1 homepage"""
     cherrypy.response.headers["Content-Type"] = "image/gif"
     return bunny1.bunny1_file("header.gif")
コード例 #3
0
ファイル: b1_example.py プロジェクト: 650Industries/bunny1
 def readme(self, arg):
     """shows the contents of the README file for this software"""
     raise bunny1.PRE(bunny1.bunny1_file("README"))
コード例 #4
0
 def readme(self, arg):
     """shows the contents of the README file for this software"""
     raise bunny1.PRE(bunny1.bunny1_file("README"))