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)
103
Response.
StatusCode
= StatusCodes.Status101SwitchingProtocols;
281
Response.
StatusCode
= status;
RequestProcessing\RequestContext.FeatureCollection.cs (1)
484
set { Response.
StatusCode
= value; }
5 references to StatusCode
Microsoft.AspNetCore.Server.HttpSys (5)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
483
get { return Response.
StatusCode
; }
667
if (response.
StatusCode
== StatusCodes.Status304NotModified)
RequestProcessing\Response.cs (3)
288
var reasonPhrase = GetReasonPhrase(
StatusCode
);
380
if (
StatusCode
== StatusCodes.Status401Unauthorized)
403
var statusCanHaveBody = CanSendResponseBody(RequestContext.Response.
StatusCode
);