[Subversion] / PEAK / examples / trivial_web / webapp.py  

Diff of /PEAK/examples/trivial_web/webapp.py

Parent Directory | Revision Log

version 1751, Fri Jun 4 17:02:55 2004 UTC version 1752, Fri Jun 4 22:34:24 2004 UTC
Line 6 
Line 6 
         index_html = security.Anybody          index_html = security.Anybody
     )      )
   
     def index_html(self):      def index_html(self, environ, input, errors):
         return "Hello world!"          return "200 OK", ["Content-type: text/plain"], ["Hello world!"]
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1751  
changed lines
  Added in v.1752

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help