Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 419 Http Code #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/419.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Description
The HTTP `419 Page Expired` Used by the Laravel Framework when a CSRF Token is missing or expired.

### See Also
- [Spec](https://github.com/laravel/framework/blob/57ae89a8acbc316153315272a4af2e68370f5e36/src/Illuminate/Foundation/Exceptions/Handler.php#L492)
- [Wikipedia](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#cite_note-32)
1 change: 1 addition & 0 deletions lib/statuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const statuses = {
416: { code: 416, message: 'Request Range Not Satisfiable' },
417: { code: 417, message: 'Expectation Failed' },
418: { code: 418, message: 'I’m a teapot' },
419: { code: 419, message: 'Page Expired' },
420: { code: 420, message: 'Enhance Your Calm' },
421: { code: 421, message: 'Misdirected Request' },
422: { code: 422, message: 'Unprocessable Entity' },
Expand Down
Binary file added public/images-original/419.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/419.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.