2 writes to EncodingSelector
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpProtocol.cs (1)
388HttpRequestHeaders.EncodingSelector = ServerOptions.RequestHeaderEncodingSelector;
Internal\Http\HttpRequestHeaders.cs (1)
27EncodingSelector = encodingSelector ?? KestrelServerOptions.DefaultHeaderEncodingSelector;
13 references to EncodingSelector
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\HttpHeaders.Generated.cs (10)
7781var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 7782? null : EncodingSelector(HeaderNames.ContentLength); 7902var valueStr = value.GetRequestHeaderString(nameStr, EncodingSelector, checkForNewlineChars); 7921var valueStr = value.GetRequestHeaderString(nameStr, EncodingSelector, checkForNewlineChars); 7990var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 7991? null : EncodingSelector(HeaderNames.ContentLength); 8118var valueStr = value.GetRequestHeaderString(nameStr, EncodingSelector, checkForNewlineChars); 8159var customEncoding = ReferenceEquals(EncodingSelector, KestrelServerOptions.DefaultHeaderEncodingSelector) 8160? null : EncodingSelector(HeaderNames.ContentLength); 8321var valueStr = value.GetRequestHeaderString(nameStr, EncodingSelector, checkForNewlineChars);
Internal\Http\HttpProtocol.cs (1)
554var valueStr = value.GetRequestHeaderString(key, HttpRequestHeaders.EncodingSelector, checkForNewlineChars: false);
Internal\Http\HttpRequestHeaders.cs (2)
105KestrelBadHttpRequestException.Throw(RequestRejectionReason.InvalidContentLength, value.GetRequestHeaderString(HeaderNames.ContentLength, EncodingSelector, checkForNewlineChars: false)); 129KestrelBadHttpRequestException.Throw(RequestRejectionReason.InvalidContentLength, value.GetRequestHeaderString(HeaderNames.ContentLength, EncodingSelector, checkForNewlineChars: false));