parameters: (jar, request, response)
docstring: Extract the cookies from the response into a CookieJar.
  
      :param jar: cookielib.CookieJar (not necessarily a RequestsCookieJar)
      :param request: our own requests.Request object
      :param response: urllib3.HTTPResponse object
docstring_summary: Extract the cookies from the response into a CookieJar.
docstring_tokens: Extract the cookies from the response into a CookieJar .
function: def extract_cookies_to_jar(jar, request, response):
      """Extract the cookies from the response into a CookieJar.
  
      :param jar: cookielib.CookieJar (not necessarily a RequestsCookieJar)
      :param request: our own requests.Request object
      :param response: urllib3.HTTPResponse object
      """
      if not (hasattr(response, '_original_response') and
              response._original_response):
          return
      # the _original_response field is the wrapped httplib.HTTPResponse object,
      req = MockRequest(request)
      # pull out the HTTPMessage with the headers and put it in the mock:
      res = MockResponse(response._original_response.msg)
      jar.extract_cookies(res, req)
function_tokens: def extract_cookies_to_jar ( jar , request , response ) : if not ( hasattr ( response , '_original_response' ) and response . _original_response ) : return # the _original_response field is the wrapped httplib.HTTPResponse object, req = MockRequest ( request ) # pull out the HTTPMessage with the headers and put it in the mock: res = MockResponse ( response . _original_response . msg ) jar . extract_cookies ( res , req )