-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request class is missing status code property #3218
- Loading branch information
1 parent
43eb1f2
commit 0f846b5
Showing
4 changed files
with
58 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
export class StatusCode { | ||
|
||
public static OK: number = 200; | ||
public static NO_CONTENT: number = 204; | ||
|
||
public static MULTIPLE_OPTIONS: number = 300; | ||
public static REDIRECT: number = 307; | ||
|
||
public static FORBIDDEN: number = 403; | ||
public static NOT_FOUND: number = 404; | ||
public static I_AM_A_TEAPOT: number = 418; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters