Tests about a simple python3 fastcgi runner using libfcgi and the Python-C API.
python
c
wsgi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

foo_pep333.py 199B

12345678
  1. import sys
  2. import os
  3. import time
  4. def entrypoint(env, start_response):
  5. write_body = start_response("200 OK", [('Content-type', 'text/plain')])
  6. write_body('Hello world !')
  7. return ['Hello world !']