#!/usr/bin/python3
import cgi
import os

print("Cache-Control: no-cache")
print("Content-type: text/html\r\n\r\n")


print("<html><head><title>GET query string</title></head><body>")
print("<h1 align=center>GET query string</h1><hr/>")
print("query string:")
query = os.environ.get("QUERY_STRING")
print("{}<br/>".format(query))
qlist = query.split('&')
for q in qlist:
    eql = q.split('=')
    print("{} = ".format(eql[0]))
    if(len(eql) > 1):
        print("{}<br/>".format(eql[1]))

print("</body></html>")

6dcadd4bae838b56713c2fcf25eafd812e277d16
<mask token>

<mask token>
print('Cache-Control: no-cache')
print('Content-type: text/html\r\n\r\n')
print('<html><head><title>GET query string</title></head><body>')
print('<h1 align=center>GET query string</h1><hr/>')
print('query string:')
<mask token>
print('{}<br/>'.format(query))
<mask token>
for q in qlist:
    eql = q.split('=')
    print('{} = '.format(eql[0]))
    if len(eql) > 1:
        print('{}<br/>'.format(eql[1]))
print('</body></html>')

<mask token>
print('Cache-Control: no-cache')
print('Content-type: text/html\r\n\r\n')
print('<html><head><title>GET query string</title></head><body>')
print('<h1 align=center>GET query string</h1><hr/>')
print('query string:')
query = os.environ.get('QUERY_STRING')
print('{}<br/>'.format(query))
qlist = query.split('&')
for q in qlist:
    eql = q.split('=')
    print('{} = '.format(eql[0]))
    if len(eql) > 1:
        print('{}<br/>'.format(eql[1]))
print('</body></html>')

import cgi
import os
print('Cache-Control: no-cache')
print('Content-type: text/html\r\n\r\n')
print('<html><head><title>GET query string</title></head><body>')
print('<h1 align=center>GET query string</h1><hr/>')
print('query string:')
query = os.environ.get('QUERY_STRING')
print('{}<br/>'.format(query))
qlist = query.split('&')
for q in qlist:
    eql = q.split('=')
    print('{} = '.format(eql[0]))
    if len(eql) > 1:
        print('{}<br/>'.format(eql[1]))
print('</body></html>')

#!/usr/bin/python3
import cgi
import os

print("Cache-Control: no-cache")
print("Content-type: text/html\r\n\r\n")


print("<html><head><title>GET query string</title></head><body>")
print("<h1 align=center>GET query string</h1><hr/>")
print("query string:")
query = os.environ.get("QUERY_STRING")
print("{}<br/>".format(query))
qlist = query.split('&')
for q in qlist:
    eql = q.split('=')
    print("{} = ".format(eql[0]))
    if(len(eql) > 1):
        print("{}<br/>".format(eql[1]))

print("</body></html>")
