Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 3865136

Browse files
khellangTratcher
authored andcommitted
Added "451 Unavailable For Legal Reasons" to StatusCodes
From RFC7725 - https://tools.ietf.org/html/rfc7725
1 parent 0a3213e commit 3865136

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Microsoft.AspNetCore.Http.Abstractions/StatusCodes.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static class StatusCodes
4747
public const int Status422UnprocessableEntity = 422;
4848
public const int Status423Locked = 423;
4949
public const int Status424FailedDependency = 424;
50+
public const int Status451UnavailableForLegalReasons = 451;
5051

5152
public const int Status500InternalServerError = 500;
5253
public const int Status501NotImplemented = 501;

0 commit comments

Comments
 (0)