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