def get_query():
q = get("<STR_LIT:q>", "<STR_LIT>")<EOL>qs = q.lstrip("<STR_LIT>")<EOL>if qs and not qs.endswith("<STR_LIT:*>"):<EOL><INDENT>qs += "<STR_LIT:*>"<EOL><DEDENT>return qs<EOL>
returns the 'query' from the request