SHARE
TWEET

Manlio Perillo

a guest Mar 31st, 2010 59 Never
  1. $python mako_green_wsgi.py
  2. status: 200 OK
  3. headers [('Content-Type', 'text/html')]
  4. chunk #0
  5. some data from write callable
  6. chunk #1
  7.  
  8.  
  9. <html>
  10.   <head>
  11.     <title>Mako example</title>
  12.   </head>
  13.   <body>
  14.     <div>Header</div>
  15.     chunk #2
  16.  
  17.     <div>Body</div>
  18.     chunk #3
  19.  
  20.     <div>Footer</div>
  21.   </body>
  22. </html>
RAW Paste Data
Top