75 references to ContentEncoding
CodeGenerator (1)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebAssembly.Server.Tests (16)
ContentEncodingNegotiatorTests.cs (16)
29Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
32Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
51Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
72Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
75Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
95Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
98Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
118Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
121Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
141Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
144Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
164Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
167Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
186Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
207Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
210Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
Microsoft.AspNetCore.Http.Features (2)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.RequestDecompression (1)
Microsoft.AspNetCore.RequestDecompression.Tests (3)
Microsoft.AspNetCore.ResponseCompression (2)
Microsoft.AspNetCore.Server.HttpSys (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2235yield return HeaderNames.ContentEncoding;
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
Microsoft.AspNetCore.Server.IIS (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2235yield return HeaderNames.ContentEncoding;
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\HttpHeaders.Generated.cs (17)
305HeaderNames.ContentEncoding,
1993if (!TryGetUnknown(HeaderNames.ContentEncoding, ref value))
2002SetValueUnknown(HeaderNames.ContentEncoding, value);
9270ValidateHeaderValueCharacters(HeaderNames.ContentEncoding, value, EncodingSelector);
11405if (ReferenceEquals(HeaderNames.ContentEncoding, key))
11451if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12062if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12093if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12851if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12902if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13743if (ReferenceEquals(HeaderNames.ContentEncoding, key))
13794if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
14589array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, _headers._ContentEncoding);
15344_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, _collection._headers._ContentEncoding);
16001if (!TryGetUnknown(HeaderNames.ContentEncoding, ref value))
16010ValidateHeaderValueCharacters(HeaderNames.ContentEncoding, value, EncodingSelector);
16011SetValueUnknown(HeaderNames.ContentEncoding, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2235yield return HeaderNames.ContentEncoding;
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
Microsoft.AspNetCore.StaticAssets (1)