104 references to TransferEncoding
CodeGenerator (6)
src\Servers\Kestrel\shared\KnownHeaders.cs (6)
26HeaderNames.TransferEncoding, 115HeaderNames.TransferEncoding, 132HeaderNames.TransferEncoding, 202HeaderNames.TransferEncoding, 210HeaderNames.TransferEncoding, 291HeaderNames.TransferEncoding,
InMemory.FunctionalTests (4)
Http2\Http2StreamTests.cs (3)
188Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 239Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 5845response.Headers.Add(HeaderNames.TransferEncoding, "chunked");
Http3\Http3StreamTests.cs (1)
660response.Headers.Add(HeaderNames.TransferEncoding, "chunked");
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (3)
Logging\AcceptanceTests.cs (3)
90context.Response.Headers.Append(HeaderNames.TransferEncoding, "chunked"); 278x.ResponseHeadersDataClasses.Add(HeaderNames.TransferEncoding, DataClassification.None); 349x.ResponseHeadersDataClasses.Add(HeaderNames.TransferEncoding, DataClassification.None);
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
224StringValues TransferEncoding { get => this[HeaderNames.TransferEncoding]; set => this[HeaderNames.TransferEncoding] = value; }
Microsoft.AspNetCore.HttpLogging (2)
HttpLoggingOptions.cs (2)
54HeaderNames.TransferEncoding, 89HeaderNames.TransferEncoding,
Microsoft.AspNetCore.HttpLogging.Tests (11)
HttpLoggingMiddlewareTests.cs (11)
820c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 843c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 867c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 889c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 913c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 963c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 1097c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 1135c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 1403c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 1511c.Response.Headers[HeaderNames.TransferEncoding] = "test"; 1580c.Response.Headers[HeaderNames.TransferEncoding] = "test";
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheEntry.cs (1)
114if (!TryFindHeader(HeaderNames.TransferEncoding, out _))
OutputCacheEntryFormatter.cs (1)
459HeaderNames.TransferEncoding,
Microsoft.AspNetCore.Server.HttpSys (13)
RequestProcessing\Request.cs (2)
214var transferEncoding = Headers[HeaderNames.TransferEncoding].ToString(); 500var transferEncoding = Headers[HeaderNames.TransferEncoding].ToString();
RequestProcessing\Response.cs (2)
399var transferEncodingString = Headers[HeaderNames.TransferEncoding]; 451Headers[HeaderNames.TransferEncoding] = Constants.Chunked;
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
29HeaderNames.TransferEncoding,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2343yield return HeaderNames.TransferEncoding; 2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding); 2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Http2Tests.cs (2)
121Assert.False(httpContext.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 171Assert.False(httpContext.Request.Headers.ContainsKey(HeaderNames.TransferEncoding));
RequestHeaderTests.cs (1)
293yield return (HttpSysRequestHeader.TransferEncoding, HeaderNames.TransferEncoding);
Microsoft.AspNetCore.Server.IIS (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
29HeaderNames.TransferEncoding,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2343yield return HeaderNames.TransferEncoding; 2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding); 2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
Microsoft.AspNetCore.Server.Kestrel.Core (29)
Internal\Http\HttpHeaders.Generated.cs (28)
357HeaderNames.TransferEncoding, 3413if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 3432if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 4171if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 4184if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 5210if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 5231if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 6317if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 6338if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 7415array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _headers._TransferEncoding); 7820nameStr = HeaderNames.TransferEncoding; 8079nameStr = HeaderNames.TransferEncoding; 8619_current = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _collection._headers._TransferEncoding); 9763ValidateHeaderValueCharacters(HeaderNames.TransferEncoding, value, EncodingSelector); 11500if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 11510if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 12127if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 12135if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 12956if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 12968if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 13848if (ReferenceEquals(HeaderNames.TransferEncoding, key)) 13860if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase)) 14742array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _headers._TransferEncoding); 15121headerName = HeaderNames.TransferEncoding; 15446_current = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _collection._headers._TransferEncoding); 16847if (!TryGetUnknown(HeaderNames.TransferEncoding, ref value)) 16856ValidateHeaderValueCharacters(HeaderNames.TransferEncoding, value, EncodingSelector); 16857SetValueUnknown(HeaderNames.TransferEncoding, value);
Internal\Http\HttpProtocol.cs (1)
1168RejectInvalidHeaderForNonBodyResponse(appCompleted, HeaderNames.TransferEncoding);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (9)
Http1\Http1ConnectionTests.cs (3)
1027_http1Connection.RequestHeaders.Add(HeaderNames.TransferEncoding, "chunked"); 1035Assert.True(_http1Connection.RequestHeaders.ContainsKey(HeaderNames.TransferEncoding)); 1036Assert.Equal("chunked", _http1Connection.RequestHeaders[HeaderNames.TransferEncoding]);
src\Servers\Kestrel\shared\KnownHeaders.cs (6)
26HeaderNames.TransferEncoding, 115HeaderNames.TransferEncoding, 132HeaderNames.TransferEncoding, 202HeaderNames.TransferEncoding, 210HeaderNames.TransferEncoding, 291HeaderNames.TransferEncoding,
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
29HeaderNames.TransferEncoding,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase)) 2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal)) 2343yield return HeaderNames.TransferEncoding; 2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding); 2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
134Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding)); 151Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding));