node.js中Content-Type的设置 res.writeHead(301, { //301为重定向即跳转,location为跳转的页面 Location: '/list' }); res.end();