File: Internal\Http\RequestRejectionReason.cs
Web Access
Project: src\src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj (Microsoft.AspNetCore.Server.Kestrel.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http;
 
internal enum RequestRejectionReason
{
    TlsOverHttpError,
    UnrecognizedHTTPVersion,
    InvalidRequestLine,
    InvalidRequestHeader,
    InvalidRequestHeadersNoCRLF,
    MalformedRequestInvalidHeaders,
    InvalidContentLength,
    MultipleContentLengths,
    UnexpectedEndOfRequestContent,
    BadChunkSuffix,
    BadChunkSizeData,
    ChunkedRequestIncomplete,
    InvalidRequestTarget,
    InvalidCharactersInHeaderName,
    RequestLineTooLong,
    HeadersExceedMaxTotalSize,
    TooManyHeaders,
    RequestBodyTooLarge,
    RequestHeadersTimeout,
    RequestBodyTimeout,
    FinalTransferCodingNotChunked,
    LengthRequiredHttp10,
    OptionsMethodRequired,
    ConnectMethodRequired,
    MissingHostHeader,
    MultipleHostHeaders,
    InvalidHostHeader
}