Want more features on Pastebin? Sign Up, it's FREE!
Guest

Manlio Perillo

By: a guest on Mar 31st, 2010  |  syntax: None  |  size: 0.32 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data