# requests 2.34.2 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Prepares the given HTTP cookie data.

        This function eventually generates a ``Cookie`` header from the
        given cookies using cookielib. Due to cookielib's design, the header
        will not be regenerated if it already exists, meaning this function
        can only be called once for the life of the
        :class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
        to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
        header is removed beforehand.
        
=== parse rest
short_description: 'Prepares the given HTTP cookie data.'
long_description: |
  This function eventually generates a ``Cookie`` header from the
  given cookies using cookielib. Due to cookielib's design, the header
  will not be regenerated if it already exists, meaning this function
  can only be called once for the life of the
  :class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
  to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
  header is removed beforehand.
blank_after_short_description: True
blank_after_long_description: False
style: rest
=== detect
rest
=== compose rest
Prepares the given HTTP cookie data.

This function eventually generates a ``Cookie`` header from the
given cookies using cookielib. Due to cookielib's design, the header
will not be regenerated if it already exists, meaning this function
can only be called once for the life of the
:class:`PreparedRequest <PreparedRequest>` object. Any subsequent calls
to ``prepare_cookies`` will have no actual effect, unless the "Cookie"
header is removed beforehand.
