def headers(self):
        """
        Return only the headers as Python object
        """
        d = {}
        for k, v in self.message.items():
            d[k] = decode_header_part(v)
        return d
Return only the headers as Python object