@staticmethod
def _headers_as_dict(lst):
    """
        lst is a list of tuples like;
            [('Date', 'Tue, 10 Dec 2019 09:06:16 GMT'), ('Expires', '-1')]
        """
    x = {}
    for i in lst:
        x[i[0]] = i[1]
    return x
