Python CGI workaround