def getheaders(self, name):
        return self._headers.get_list(name)
make cookie python 2 version use this method to get cookie list
dataset/ETHPy150Open binux/pyspider/pyspider/fetcher/cookie_utils.py/MockResponse.getheaders