4 __author__ = "Oleg Broytman <phd@phdru.name>"
5 __copyright__ = "Copyright (C) 2014 PhiloSoft Design"
6 __license__ = "GNU GPL"
9 from parse_query import parser
10 from html.response import response
12 form = cgi.FieldStorage()
13 if not form.has_key('q'):
14 status = "400 Bad request"
16 body = "Required parameter is missing!"
18 response(title, body, status)