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