use res.headers.items() for iteration