26 references to IsPost
Aspire.Hosting.Tests (9)
Dcp\KubernetesServiceTests.cs (9)
917if (HttpMethods.IsPost(context.Request.Method)) 1013if (HttpMethods.IsPost(context.Request.Method)) 1066if (HttpMethods.IsPost(context.Request.Method)) 1179if (HttpMethods.IsPost(context.Request.Method)) 1293if (HttpMethods.IsPost(context.Request.Method)) 1335if (HttpMethods.IsPost(context.Request.Method)) 1478if (HttpMethods.IsPost(context.Request.Method)) 1615if (HttpMethods.IsPost(context.Request.Method)) 1657HttpMethods.IsPost(context.Request.Method) ? StatusCodes.Status504GatewayTimeout : StatusCodes.Status403Forbidden,
Microsoft.AspNetCore.Antiforgery (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
126else if (HttpMethods.IsPost(Request.Method) 665else if (HttpMethods.IsPost(Request.Method)
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
154if (HttpMethods.IsPost(Request.Method)
Microsoft.AspNetCore.Components.Endpoints (2)
RazorComponentEndpointInvoker.cs (1)
211var processPost = HttpMethods.IsPost(context.Request.Method) &&
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
245if (HttpMethods.IsPost(httpContext.Request.Method))
Microsoft.AspNetCore.Components.Server (1)
CircuitDisconnectMiddleware.cs (1)
34if (!HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.Diagnostics (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Hosting (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Http.Abstractions (1)
HttpMethods.cs (1)
188string _ when IsPost(method) => Post,
Microsoft.AspNetCore.Http.Connections (3)
Internal\HttpConnectionDispatcher.cs (3)
82if (HttpMethods.IsPost(context.Request.Method)) 111if (HttpMethods.IsPost(context.Request.Method)) 129if (HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.HttpOverrides (1)
HttpMethodOverrideMiddleware.cs (1)
38if (HttpMethods.IsPost(context.Request.Method))
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
270else if (HttpMethods.IsPost(method))
Microsoft.AspNetCore.Routing (1)
src\aspnetcore\src\Shared\HttpExtensions.cs (1)
13HttpMethods.IsPost(method) || HttpMethods.IsPut(method) || HttpMethods.IsPatch(method);
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
116if (HttpMethods.IsPost(httpContext.Request.Method) &&