X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=web%2Fqchess.cgi;fp=web%2Fqchess.cgi;h=e0c1460d04423ec5e2aa5a5813f798f707f74508;hb=93279737bf3ad25d9172fa7873bb0cc689a8487a;hp=83a847b40faab2c84a8a9525966827e1d716c9b5;hpb=5d8f204c6bde7cd0f4534e0904d20ad26df4ef5e;p=progcomp2013.git diff --git a/web/qchess.cgi b/web/qchess.cgi old mode 100644 new mode 100755 index 83a847b..e0c1460 --- a/web/qchess.cgi +++ b/web/qchess.cgi @@ -12,6 +12,8 @@ def main(argv): form = cgi.FieldStorage() client = cgi.escape(os.environ["REMOTE_ADDR"]) + print "Content-Type: text/plain\r\n\r\n" + try: with open(client): pass except IOError: