6 implementations of ContentEncoding
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
254public StringValues ContentEncoding
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
254public StringValues ContentEncoding
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
1988StringValues IHeaderDictionary.ContentEncoding 9252StringValues IHeaderDictionary.ContentEncoding 15996StringValues IHeaderDictionary.ContentEncoding
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
254public StringValues ContentEncoding
12 writes to ContentEncoding
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointInvoker.cs (1)
129context.Response.Headers.ContentEncoding = "identity";
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
ContentEncodingNegotiator.cs (1)
91context.Response.Headers.ContentEncoding = selectedEncoding.Value;
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\ServerSentEventsServerTransport.cs (1)
41context.Response.Headers.ContentEncoding = "identity";
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
RequestDecompressionMiddlewareBenchmark.cs (1)
40context.Request.Headers.ContentEncoding = "gzip";
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
232headers.ContentEncoding = StringValues.Concat(headers.ContentEncoding, compressionProvider.EncodingName);
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
421r.Headers.ContentEncoding = otherContentEncoding;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http2\Http2HPackEncoderTests.cs (2)
155headers.ContentEncoding = "gzip"; 299headers.ContentEncoding = "gzip";
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
HeaderCollectionBenchmark.cs (1)
157headers.ContentEncoding = "gzip";
ResponseHeaderCollectionBenchmark.cs (1)
125headers.ContentEncoding = "gzip";
ResponseHeadersWritingBenchmark.cs (2)
99responseHeaders.ContentEncoding = "gzip"; 122responseHeaders.ContentEncoding = "gzip";
8 references to ContentEncoding
Microsoft.AspNetCore.RequestDecompression (1)
DefaultRequestDecompressionProvider.cs (1)
32var encodings = context.Request.Headers.ContentEncoding;
Microsoft.AspNetCore.RequestDecompression.Tests (5)
DefaultRequestDecompressionProviderTests.cs (4)
47var contentEncodingHeader = httpContext.Request.Headers.ContentEncoding; 72var contentEncodingHeader = httpContext.Request.Headers.ContentEncoding; 99var contentEncodingHeader = httpContext.Request.Headers.ContentEncoding; 127var contentEncodingHeader = httpContext.Request.Headers.ContentEncoding;
RequestDecompressionMiddlewareTests.cs (1)
296contentEncodingHeader = context.Request.Headers.ContentEncoding;
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
232headers.ContentEncoding = StringValues.Concat(headers.ContentEncoding, compressionProvider.EncodingName);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
HeaderCollectionBenchmark.cs (1)
276value = headers.ContentEncoding;