3 references to BadHttpRequestException
Microsoft.AspNetCore.Server.Kestrel.Core (3)
BadHttpRequestException.cs (1)
17: this(message, statusCode, reason, null)
KestrelBadHttpRequestException.cs (2)
74ex = new BadHttpRequestException(CoreStrings.BadRequest_MethodNotAllowed, StatusCodes.Status405MethodNotAllowed, reason, HttpMethod.Options); 77ex = new BadHttpRequestException(CoreStrings.BadRequest_MethodNotAllowed, StatusCodes.Status405MethodNotAllowed, reason, HttpMethod.Connect);