Skip to content
Snippets Groups Projects
Commit ac075fc12620 authored by Jean-Francois Pieronne's avatar Jean-Francois Pieronne
Browse files

src/python/scripts/wsgiref_test1.py initial version

parent ea64038daf12
No related branches found
No related tags found
No related merge requests found
def application(environ, start_response):
start_response('200 OK',[('Content-type','text/html')])
return ['<html><body>Hello World!</body></html>']
from wsgiref.handlers import CGIHandler
CGIHandler().run(application)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment