1 write to _webHeaders
System.Net.HttpListener (1)
System\Net\HttpListenerResponse.cs (1)
26_webHeaders = new WebHeaderCollection();
15 references to _webHeaders
System.Net.HttpListener (15)
System\Net\HttpListenerResponse.cs (2)
23get => _webHeaders; 29_webHeaders.Add(headerName, value[headerName]);
System\Net\Managed\HttpListenerResponse.Managed.cs (13)
153_webHeaders.Clear(); 154_webHeaders.Add(templateResponse._webHeaders); 166if (_webHeaders[HttpKnownHeaderNames.Server] == null) 168_webHeaders.Set(HttpKnownHeaderNames.Server, HttpHeaderStrings.NetCoreServerName); 171if (_webHeaders[HttpKnownHeaderNames.Date] == null) 173_webHeaders.Set(HttpKnownHeaderNames.Date, DateTime.UtcNow.ToString("r", CultureInfo.InvariantCulture)); 207_webHeaders.Set(HttpKnownHeaderNames.ContentLength, _contentLength.ToString("D", CultureInfo.InvariantCulture)); 233_webHeaders.Set(HttpKnownHeaderNames.Connection, HttpHeaderStrings.Close); 239_webHeaders.Set(HttpKnownHeaderNames.TransferEncoding, HttpHeaderStrings.Chunked); 248_webHeaders.Set(HttpKnownHeaderNames.Connection, HttpHeaderStrings.Close); 262_webHeaders.Set(HttpKnownHeaderNames.Connection, HttpHeaderStrings.KeepAlive); 277writer.Write(FormatHeaders(_webHeaders));