def _ssdp_headers(headers): ssdp_headers = CaseInsensitiveDict(headers, _timestamp=datetime.now()) ssdp_headers["_udn"] = udn_from_headers(ssdp_headers) return ssdp_headers
def _ssdp_headers(headers): return CaseInsensitiveDict(headers, _timestamp=datetime(2021, 1, 1, 12, 00), _udn=udn_from_headers(headers))