code: def joinArgs(args):
      
      if not args:
          return ''
      arglist = []
      for key in sorted(args, key=lambda x: x.lower()):
          value = compat.ustr(args[key])
          arglist.append('%s=%s' % (key, compat.quote(value)))
      return '?%s' % '&'.join(arglist)
docs: 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.