Esempio n. 1
0
        public void RemoveHttpHeader()
        {
            _httpResponseBase.Headers["deadheader"] = "deadvalue";
            Assert.Equal("deadvalue", _httpResponseBase.Headers["deadheader"]);

            _contextWrapper.RemoveHttpHeader("deadheader");

            Assert.Empty(_httpResponseBase.Headers["deadheader"]);
        }