问题
Hi there,
is there any possible way to get the server information like the above by using nodejs and puppeteer?
many thanks
回答1:
These are the response headers, which you can get with response.headers():
const response = await page.goto(url);
const headers = response.headers();
console.log(headers);
来源:https://stackoverflow.com/questions/54935656/possible-to-get-http-response-headers-with-nodejs-and-puppeteer