Implemented interface member:
property
this
Microsoft.AspNetCore.Http.IHeaderDictionary.this[System.String]
9 writes to
Microsoft.AspNetCore.Server.HttpSys (5)
AuthenticationManager.cs (1)
185
context.Response.Headers
[
HeaderNames.WWWAuthenticate]
RequestProcessing\RequestContext.FeatureCollection.cs (1)
754
Response.Headers
[
HeaderNames.Connection] = "close";
RequestProcessing\Response.cs (2)
441
Headers
[
HeaderNames.ContentLength] = Constants.Zero;
449
Headers
[
HeaderNames.TransferEncoding] = Constants.Chunked;
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
153
this
[
HeaderNames.ContentLength] = _contentLengthText;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Listener\ResponseHeaderTests.cs (3)
262
context.Response.Headers
[
"Transfer-Encoding"] = new string[] { "chunked" };
307
responseHeaders
[
key] = value;
312
responseHeaders
[
key] = new StringValues(new[] { "valid", value });
Listener\ServerTests.cs (1)
98
context.Response.Headers
[
"Connection"] = "close";
6 references to
Microsoft.AspNetCore.Server.HttpSys (6)
AuthenticationManager.cs (1)
186
= StringValues.Concat(context.Response.Headers
[
HeaderNames.WWWAuthenticate], challenges.ToArray());
RequestProcessing\RequestContext.FeatureCollection.cs (2)
674
var cacheControlHeader = response.Headers
[
HeaderNames.CacheControl];
703
if (HeaderUtilities.TryParseDate(response.Headers
[
HeaderNames.Expires].ToString(), out expirationDate))
RequestProcessing\Response.cs (2)
396
var responseConnectionString = Headers
[
HeaderNames.Connection];
397
var transferEncodingString = Headers
[
HeaderNames.TransferEncoding];
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
123
var rawValue = this
[
HeaderNames.ContentLength];