def joinArgs(args):
if not args:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>arglist = []<EOL>for key in sorted(args, key=lambda x: x.lower()):<EOL><INDENT>value = compat.ustr(args[key])<EOL>arglist.append('<STR_LIT>' % (key, compat.quote(value)))<EOL><DEDENT>return '<STR_LIT>' % '<STR_LIT:&>'.join(arglist)<EOL>
Returns a query string (uses for HTTP URLs) where only the value is URL encoded.
        Example return value: '?genre=action&type=1337'.

        Parameters:
            args (dict): Arguments to include in query string.