def getlist(self, key, default=__marker):
        """Returns a list of all the values for the named field. Returns an
        empty list if the key doesn't exist."""
        try:
            vals = self._container[key.lower()]
        except KeyError:
            if default is self.__marker:
                return []
            return default
        else:
            return vals[1:]
Returns a list of all the values for the named field. Returns an
        empty list if the key doesn't exist.
product/gradle-plugin/src/main/python/pip/_vendor/urllib3/_collections.py