http: add 308 status_code, see RFC7238
Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
1df32af74a
commit
ab50fad63b
@ -56,6 +56,7 @@ var STATUS_CODES = exports.STATUS_CODES = {
|
|||||||
304 : 'Not Modified',
|
304 : 'Not Modified',
|
||||||
305 : 'Use Proxy',
|
305 : 'Use Proxy',
|
||||||
307 : 'Temporary Redirect',
|
307 : 'Temporary Redirect',
|
||||||
|
308 : 'Permanent Redirect', // RFC 7238
|
||||||
400 : 'Bad Request',
|
400 : 'Bad Request',
|
||||||
401 : 'Unauthorized',
|
401 : 'Unauthorized',
|
||||||
402 : 'Payment Required',
|
402 : 'Payment Required',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user