'Return a list of cookies to be returned to server.'

def _cookies_for_request(self, request):

    cookies = []
    for domain in self._cookies.keys():
        cookies.extend(self._cookies_for_domain(domain, request))
    return cookies
