【发布时间】:2018-07-07 04:27:02
【问题描述】:
我有一个 HTTP 触发的 NodeJs Azure 函数,我希望从我的响应中删除“X-Powered-By”标头,但没有找到这样做的方法。
我尝试添加 this 和 this azure 站点扩展,但都没有为我工作,
手动设置响应头,即res.headers = { ['x-powered-by']: null }无效。
【问题讨论】:
标签: node.js azure http-headers azure-web-app-service azure-functions