docs: def url_escape(value, plus=True):
      """Returns a URL-encoded version of the given value.
  
      If ``plus`` is true (the default), spaces will be represented
      as "+" instead of "%20".  This is appropriate for query strings
      but not for the path component of a URL.  Note that this default
      is the reverse of Python's urllib module.
  
      .. versionadded:: 3.1
          The ``plus`` argument
      """
      quote = urllib_parse.quote_plus if plus else urllib_parse.quote
      return quote(utf8(value))