5 writes to StatusCode
Microsoft.AspNetCore.Server.HttpSys (5)
AuthenticationHandler.cs (2)
26_requestContext!.Response.StatusCode = 401; 32_requestContext!.Response.StatusCode = 403;
RequestProcessing\RequestContext.cs (2)
103Response.StatusCode = StatusCodes.Status101SwitchingProtocols; 281Response.StatusCode = status;
RequestProcessing\RequestContext.FeatureCollection.cs (1)
484set { Response.StatusCode = value; }
5 references to StatusCode
Microsoft.AspNetCore.Server.HttpSys (5)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
483get { return Response.StatusCode; } 667if (response.StatusCode == StatusCodes.Status304NotModified)
RequestProcessing\Response.cs (3)
288var reasonPhrase = GetReasonPhrase(StatusCode); 380if (StatusCode == StatusCodes.Status401Unauthorized) 403var statusCanHaveBody = CanSendResponseBody(RequestContext.Response.StatusCode);