PyLucid CMS Logo

a mini fastCGI Test App.

page message
  • Entry for this url doesn't exist.
  • Entry for this url doesn't exist.
  • Entry for this url doesn't exist.
  • Entry for this url doesn't exist.
  • Eintrag mit dieser URL existiert nicht.
  • Eintrag mit dieser URL existiert nicht.
  • Entry for this url doesn't exist.
Python
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
import cgi

import sys, os

def app(environ, start_response):
    start_response('200 OK', [('Content-Type', 'text/html')])

    yield '<h1>FastCGI Environment</h1>'

    yield '<table>'

    for key, value in sorted(environ.items()):
        yield '<tr><th>%s</th><td>%s</td></tr>' % (
            cgi.escape(key), cgi.escape(value)
        )
    yield '</table>'
0 comments for 'fastCGI Test':
    there exist no comment for 'fastCGI Test'
Leave a comment

django-processinfo: 5.8 ms of 238.2 ms (2.4%)