'Extract response cookies and store them in the cookie jar.
@type response: L{twisted.web.iweb.IResponse}
@param response: Twisted Web response.
@param request: A urllib2 compatible request object.'

def _extractCookies(self, response, request):

    resp = _FakeUrllib2Response(response)
    self.cookieJar.extract_cookies(resp, request)
    return response
