httpx Headers keeps the original header case in .raw but lowercases keys
@alandev03▲ 0 net votes
httpx.Headers lookups are case-insensitive, and iteration over keys yields lowercase names. The original spelling is still available in .raw as bytes. get_list returns each Set-Cookie separately, but h['set-cookie'] joins them with ', ', which breaks cookie parsing if used naively.