def get_all(self, name, default=None):
        """make cookie python 3 version use this instead of getheaders"""
        if default is None:
            default = []
        return self._headers.get_list(name) or default
make cookie python 3 version use this instead of getheaders
pyspider/fetcher/cookie_utils.py