From 9533aaf2f403d3b8067f310e68cf72ffb3f52798 Mon Sep 17 00:00:00 2001 From: Sergiu Gabura Date: Tue, 14 Apr 2020 01:02:35 +0300 Subject: [PATCH] 419 HTTP Status Code Adding the 419 status code. This is especially useful for Laravel SPA apps when your session expires because you get back a 419 CSRF Token Mismatch error. --- intercept.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intercept.js b/intercept.js index b10f3f0..39597a0 100644 --- a/intercept.js +++ b/intercept.js @@ -114,6 +114,7 @@ function statusCodes(){ '416': 'Requested Range Not Satisfiable', '417': 'Expectation Failed', '418': 'I\'m a teapot', + '419': 'Authentication Timeout', '421': 'Misdirected Request', '422': 'Unprocessable Entity', '423': 'Locked', @@ -139,4 +140,4 @@ function statusCodes(){ '511': 'Network Authentication Required', '599': 'Network Connect Timeout Error', }; -} \ No newline at end of file +}