http: add 308 status_code, see RFC7238

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Yazhong Liu 2014-06-07 22:01:46 +08:00 committed by Fedor Indutny
parent 1df32af74a
commit ab50fad63b

View File

@ -56,6 +56,7 @@ var STATUS_CODES = exports.STATUS_CODES = {
304 : 'Not Modified',
305 : 'Use Proxy',
307 : 'Temporary Redirect',
308 : 'Permanent Redirect', // RFC 7238
400 : 'Bad Request',
401 : 'Unauthorized',
402 : 'Payment Required',