Removing headers from the response

前端 未结 4 1126
予麋鹿
予麋鹿 2021-01-11 11:52

I need to cloak certain headers generated by ASP.NET and IIS and returned in the responses from a ASP.NET WebAPI service. The headers I need to cloak are:

  • Serv
4条回答
  •  春和景丽
    2021-01-11 12:11

    if you like to remove version go to web.config file and add these lines

    
    
    
    
    

    also, add these

    
      
        
        
        
    
    

提交回复
热议问题