# requests 2.34.2 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Parse lists as described by RFC 2068 Section 2.

    In particular, parse comma-separated lists where the elements of
    the list may include quoted-strings.  A quoted-string could
    contain a comma.  A non-quoted string could have quotes in the
    middle.  Quotes are removed automatically after parsing.

    It basically works like :func:`parse_set_header` just that items
    may appear multiple times and case sensitivity is preserved.

    The return value is a standard :class:`list`:

    >>> parse_list_header('token, "quoted value"')
    ['token', 'quoted value']

    To create a header from the :class:`list` again, use the
    :func:`dump_header` function.

    :param value: a string with a list header.
    :return: :class:`list`
    :rtype: list
    
=== parse rest
short_description: 'Parse lists as described by RFC 2068 Section 2.'
long_description: |
  In particular, parse comma-separated lists where the elements of
  the list may include quoted-strings.  A quoted-string could
  contain a comma.  A non-quoted string could have quotes in the
  middle.  Quotes are removed automatically after parsing.
  
  It basically works like :func:`parse_set_header` just that items
  may appear multiple times and case sensitivity is preserved.
  
  The return value is a standard :class:`list`:
  
  >>> parse_list_header('token, "quoted value"')
  ['token', 'quoted value']
  
  To create a header from the :class:`list` again, use the
  :func:`dump_header` function.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'a string with a list header.'
  kind: param
  key: 'param'
  arg_name: 'value'
  is_optional: False
- DocstringReturns
  description: ':class:`list`'
  kind: returns
  key: 'return'
  type_name: 'list'
  is_generator: False
=== detect
rest
=== compose rest
Parse lists as described by RFC 2068 Section 2.

In particular, parse comma-separated lists where the elements of
the list may include quoted-strings.  A quoted-string could
contain a comma.  A non-quoted string could have quotes in the
middle.  Quotes are removed automatically after parsing.

It basically works like :func:`parse_set_header` just that items
may appear multiple times and case sensitivity is preserved.

The return value is a standard :class:`list`:

>>> parse_list_header('token, "quoted value"')
['token', 'quoted value']

To create a header from the :class:`list` again, use the
:func:`dump_header` function.

:param value: a string with a list header.
:return: :class:`list`
:rtype: list
