gemini-boggle/guess.cgi

14 lines
311 B
Python
Executable File

#!/usr/bin/env python3
import os
import random
from helpers import get_query_string, get_client_cert,show_header_ok,show_query_string_required
from urllib import parse
word=os.getenv("QUERY_STRING")
if not word:
word = show_query_string_required("Guess a word?")
print("30 game.cgi?"+word,end='\r\n')