使用连接HTTP方法进行请求时如何删除服务器头Azure应用服务 [英] How to remove Server Header Azure App Service when requesting with Connect HTTP method

查看:44
本文介绍了使用连接HTTP方法进行请求时如何删除服务器头Azure应用服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了Azure App Services的问题,当我们使用HTTP CONNECT方法请求时,App Service返回错误的网关错误.除了响应之外,它还公开了服务器.有办法解决这个问题吗?

I am facing an issue with Azure App Services, when we request with an HTTP CONNECT method, App Service returns a Bad Gateway Error. Along with the response, it is exposing the Server as well. Is there a way to fix this?

这里是例子

我已经在Web.Config和Application_Start方法global.asax中删除服务器标头.

I am already doing the server header removal in Web.Config and Application_Start method global.asax.

推荐答案

我提出了Microsoft Azure的支持问题.此响应不是来自服务器,而是由前端处理的,他们无法删除特定的标头.

I raised a support issue with Microsoft Azure. This response is not coming from the server, it is handled by their frontend and they can't remove the specific header.

这篇关于使用连接HTTP方法进行请求时如何删除服务器头Azure应用服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆