From: Sam Moore Date: Thu, 16 May 2013 16:00:25 +0000 (+0800) Subject: Forgot headers X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=commitdiff_plain;h=93279737bf3ad25d9172fa7873bb0cc689a8487a Forgot headers --- 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: