]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Demo/cgi/cgi1.py
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Demo / cgi / cgi1.py
CommitLineData
4710c53d 1#!/usr/bin/env python\r
2\r
3"""CGI test 1 - check server setup."""\r
4\r
5# Until you get this to work, your web server isn't set up right or\r
6# your Python isn't set up right.\r
7\r
8# If cgi0.sh works but cgi1.py doesn't, check the #! line and the file\r
9# permissions. The docs for the cgi.py module have debugging tips.\r
10\r
11print "Content-type: text/html"\r
12print\r
13print "<h1>Hello world</h1>"\r
14print "<p>This is cgi1.py"\r