2 writes to EncodingSelector
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.cs (1)
391
HttpResponseHeaders.
EncodingSelector
= ServerOptions.ResponseHeaderEncodingSelector;
Internal\Http\HttpResponseHeaders.cs (1)
25
EncodingSelector
= encodingSelector ?? KestrelServerOptions.DefaultHeaderEncodingSelector;
96 references to EncodingSelector
Microsoft.AspNetCore.Server.Kestrel.Core (96)
Internal\Http\HttpHeaders.Generated.cs (93)
8831
ValidateHeaderValueCharacters(HeaderNames.Connection, value,
EncodingSelector
);
8861
ValidateHeaderValueCharacters(HeaderNames.ContentType, value,
EncodingSelector
);
8890
ValidateHeaderValueCharacters(HeaderNames.Date, value,
EncodingSelector
);
8920
ValidateHeaderValueCharacters(HeaderNames.Server, value,
EncodingSelector
);
8950
ValidateHeaderValueCharacters(HeaderNames.AcceptRanges, value,
EncodingSelector
);
8979
ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowCredentials, value,
EncodingSelector
);
9008
ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowHeaders, value,
EncodingSelector
);
9037
ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowMethods, value,
EncodingSelector
);
9066
ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowOrigin, value,
EncodingSelector
);
9095
ValidateHeaderValueCharacters(HeaderNames.AccessControlExposeHeaders, value,
EncodingSelector
);
9124
ValidateHeaderValueCharacters(HeaderNames.AccessControlMaxAge, value,
EncodingSelector
);
9153
ValidateHeaderValueCharacters(HeaderNames.Age, value,
EncodingSelector
);
9182
ValidateHeaderValueCharacters(HeaderNames.Allow, value,
EncodingSelector
);
9211
ValidateHeaderValueCharacters(HeaderNames.AltSvc, value,
EncodingSelector
);
9241
ValidateHeaderValueCharacters(HeaderNames.CacheControl, value,
EncodingSelector
);
9270
ValidateHeaderValueCharacters(HeaderNames.ContentEncoding, value,
EncodingSelector
);
9299
ValidateHeaderValueCharacters(HeaderNames.ContentLanguage, value,
EncodingSelector
);
9328
ValidateHeaderValueCharacters(HeaderNames.ContentLocation, value,
EncodingSelector
);
9357
ValidateHeaderValueCharacters(HeaderNames.ContentMD5, value,
EncodingSelector
);
9386
ValidateHeaderValueCharacters(HeaderNames.ContentRange, value,
EncodingSelector
);
9415
ValidateHeaderValueCharacters(HeaderNames.ETag, value,
EncodingSelector
);
9444
ValidateHeaderValueCharacters(HeaderNames.Expires, value,
EncodingSelector
);
9473
ValidateHeaderValueCharacters(HeaderNames.GrpcEncoding, value,
EncodingSelector
);
9502
ValidateHeaderValueCharacters(HeaderNames.KeepAlive, value,
EncodingSelector
);
9531
ValidateHeaderValueCharacters(HeaderNames.LastModified, value,
EncodingSelector
);
9560
ValidateHeaderValueCharacters(HeaderNames.Location, value,
EncodingSelector
);
9589
ValidateHeaderValueCharacters(HeaderNames.Pragma, value,
EncodingSelector
);
9618
ValidateHeaderValueCharacters(HeaderNames.ProxyAuthenticate, value,
EncodingSelector
);
9647
ValidateHeaderValueCharacters(HeaderNames.ProxyConnection, value,
EncodingSelector
);
9676
ValidateHeaderValueCharacters(HeaderNames.RetryAfter, value,
EncodingSelector
);
9705
ValidateHeaderValueCharacters(HeaderNames.SetCookie, value,
EncodingSelector
);
9734
ValidateHeaderValueCharacters(HeaderNames.Trailer, value,
EncodingSelector
);
9763
ValidateHeaderValueCharacters(HeaderNames.TransferEncoding, value,
EncodingSelector
);
9793
ValidateHeaderValueCharacters(HeaderNames.Upgrade, value,
EncodingSelector
);
9822
ValidateHeaderValueCharacters(HeaderNames.Vary, value,
EncodingSelector
);
9851
ValidateHeaderValueCharacters(HeaderNames.Via, value,
EncodingSelector
);
9880
ValidateHeaderValueCharacters(HeaderNames.Warning, value,
EncodingSelector
);
9909
ValidateHeaderValueCharacters(HeaderNames.WWWAuthenticate, value,
EncodingSelector
);
9935
ValidateHeaderValueCharacters(HeaderNames.Accept, value,
EncodingSelector
);
9953
ValidateHeaderValueCharacters(HeaderNames.AcceptCharset, value,
EncodingSelector
);
9971
ValidateHeaderValueCharacters(HeaderNames.AcceptEncoding, value,
EncodingSelector
);
9989
ValidateHeaderValueCharacters(HeaderNames.AcceptLanguage, value,
EncodingSelector
);
10007
ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestHeaders, value,
EncodingSelector
);
10025
ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestMethod, value,
EncodingSelector
);
10043
ValidateHeaderValueCharacters(HeaderNames.Authorization, value,
EncodingSelector
);
10061
ValidateHeaderValueCharacters(HeaderNames.Baggage, value,
EncodingSelector
);
10079
ValidateHeaderValueCharacters(HeaderNames.ContentDisposition, value,
EncodingSelector
);
10097
ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicy, value,
EncodingSelector
);
10115
ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicyReportOnly, value,
EncodingSelector
);
10133
ValidateHeaderValueCharacters(HeaderNames.CorrelationContext, value,
EncodingSelector
);
10151
ValidateHeaderValueCharacters(HeaderNames.Cookie, value,
EncodingSelector
);
10169
ValidateHeaderValueCharacters(HeaderNames.Expect, value,
EncodingSelector
);
10187
ValidateHeaderValueCharacters(HeaderNames.From, value,
EncodingSelector
);
10205
ValidateHeaderValueCharacters(HeaderNames.GrpcAcceptEncoding, value,
EncodingSelector
);
10223
ValidateHeaderValueCharacters(HeaderNames.GrpcMessage, value,
EncodingSelector
);
10241
ValidateHeaderValueCharacters(HeaderNames.GrpcStatus, value,
EncodingSelector
);
10259
ValidateHeaderValueCharacters(HeaderNames.GrpcTimeout, value,
EncodingSelector
);
10277
ValidateHeaderValueCharacters(HeaderNames.Host, value,
EncodingSelector
);
10295
ValidateHeaderValueCharacters(HeaderNames.IfMatch, value,
EncodingSelector
);
10313
ValidateHeaderValueCharacters(HeaderNames.IfModifiedSince, value,
EncodingSelector
);
10331
ValidateHeaderValueCharacters(HeaderNames.IfNoneMatch, value,
EncodingSelector
);
10349
ValidateHeaderValueCharacters(HeaderNames.IfRange, value,
EncodingSelector
);
10367
ValidateHeaderValueCharacters(HeaderNames.IfUnmodifiedSince, value,
EncodingSelector
);
10385
ValidateHeaderValueCharacters(HeaderNames.Link, value,
EncodingSelector
);
10403
ValidateHeaderValueCharacters(HeaderNames.MaxForwards, value,
EncodingSelector
);
10421
ValidateHeaderValueCharacters(HeaderNames.Origin, value,
EncodingSelector
);
10439
ValidateHeaderValueCharacters(HeaderNames.ProxyAuthorization, value,
EncodingSelector
);
10457
ValidateHeaderValueCharacters(HeaderNames.Range, value,
EncodingSelector
);
10475
ValidateHeaderValueCharacters(HeaderNames.Referer, value,
EncodingSelector
);
10493
ValidateHeaderValueCharacters(HeaderNames.RequestId, value,
EncodingSelector
);
10511
ValidateHeaderValueCharacters(HeaderNames.SecWebSocketAccept, value,
EncodingSelector
);
10529
ValidateHeaderValueCharacters(HeaderNames.SecWebSocketKey, value,
EncodingSelector
);
10547
ValidateHeaderValueCharacters(HeaderNames.SecWebSocketProtocol, value,
EncodingSelector
);
10565
ValidateHeaderValueCharacters(HeaderNames.SecWebSocketVersion, value,
EncodingSelector
);
10583
ValidateHeaderValueCharacters(HeaderNames.SecWebSocketExtensions, value,
EncodingSelector
);
10601
ValidateHeaderValueCharacters(HeaderNames.StrictTransportSecurity, value,
EncodingSelector
);
10619
ValidateHeaderValueCharacters(HeaderNames.TE, value,
EncodingSelector
);
10637
ValidateHeaderValueCharacters(HeaderNames.Translate, value,
EncodingSelector
);
10655
ValidateHeaderValueCharacters(HeaderNames.TraceParent, value,
EncodingSelector
);
10673
ValidateHeaderValueCharacters(HeaderNames.TraceState, value,
EncodingSelector
);
10691
ValidateHeaderValueCharacters(HeaderNames.UpgradeInsecureRequests, value,
EncodingSelector
);
10709
ValidateHeaderValueCharacters(HeaderNames.UserAgent, value,
EncodingSelector
);
10727
ValidateHeaderValueCharacters(HeaderNames.WebSocketSubProtocols, value,
EncodingSelector
);
10745
ValidateHeaderValueCharacters(HeaderNames.XContentTypeOptions, value,
EncodingSelector
);
10763
ValidateHeaderValueCharacters(HeaderNames.XFrameOptions, value,
EncodingSelector
);
10781
ValidateHeaderValueCharacters(HeaderNames.XPoweredBy, value,
EncodingSelector
);
10799
ValidateHeaderValueCharacters(HeaderNames.XRequestedWith, value,
EncodingSelector
);
10817
ValidateHeaderValueCharacters(HeaderNames.XUACompatible, value,
EncodingSelector
);
10835
ValidateHeaderValueCharacters(HeaderNames.XXSSProtection, value,
EncodingSelector
);
11684
ValidateHeaderValueCharacters(key, value,
EncodingSelector
);
12265
ValidateHeaderValueCharacters(key, value,
EncodingSelector
);
15169
var encoding = ReferenceEquals(
EncodingSelector
, KestrelServerOptions.DefaultHeaderEncodingSelector)
15170
? null :
EncodingSelector
(headerName);
Internal\Http\HttpResponseHeaders.cs (1)
46
var encodingSelector =
EncodingSelector
;
Internal\Http3\Http3HeadersEnumerator.cs (1)
35
EncodingSelector = headers.
EncodingSelector
;
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
48
EncodingSelector = headers.
EncodingSelector
;