<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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