gemini-boggle/check.cgi

16 lines
282 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
QUERY_STRING=os.getenv("QUERY_STRING")
if not QUERY_STRING:
print("30 guess.cgi",end='\r\n')
show_header_ok()
print(QUERY_STRING)