20 references to IsGet
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
95if (HttpMethods.IsGet(method) ||
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
108if (HttpMethods.IsGet(Request.Method)) 635if (HttpMethods.IsGet(Request.Method))
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
70if (Options.RemoteSignOutPath.HasValue && Options.RemoteSignOutPath == Request.Path && HttpMethods.IsGet(Request.Method)
Microsoft.AspNetCore.Http.Abstractions (1)
HttpMethods.cs (1)
171string _ when IsGet(method) => Get,
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
84else if (HttpMethods.IsGet(context.Request.Method) || HttpMethods.IsConnect(context.Request.Method))
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
145if ((HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method))
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
36_supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method);
BindPropertyAttribute.cs (1)
86return !HttpMethods.IsGet(context.HttpContext.Request.Method);
RequireHttpsAttribute.cs (1)
66if (!HttpMethods.IsGet(filterContext.HttpContext.Request.Method))
src\Shared\ResultsHelpers\FileResultHelper.cs (1)
145if ((HttpMethods.IsHead(request.Method) || HttpMethods.IsGet(request.Method))
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
25_supportsNonGetRequests = context => !HttpMethods.IsGet(context.HttpContext.Request.Method);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\AutoValidateAntiforgeryTokenAuthorizationFilter.cs (1)
23if (HttpMethods.IsGet(method) ||
Microsoft.AspNetCore.OutputCaching (1)
Policies\DefaultPolicy.cs (1)
70if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsHead(request.Method))
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingPolicyProvider.cs (1)
17if (!HttpMethods.IsGet(request.Method) && !HttpMethods.IsHead(request.Method))
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
135if (!HttpMethods.IsGet(requestMethod) &&
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsInvoker.cs (1)
397if (!HttpMethods.IsGet(_request.Method))
Microsoft.AspNetCore.StaticFiles (2)
Helpers.cs (1)
24return HttpMethods.IsGet(method) || HttpMethods.IsHead(method);
StaticFileContext.cs (1)
73if (HttpMethods.IsGet(_method))
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
229if (!HttpMethods.IsGet(method))