From 33403790e6beb93f653a38189ad0e216678d3f3c Mon Sep 17 00:00:00 2001 From: Yazhong Liu Date: Fri, 20 Jun 2014 22:23:37 +0800 Subject: [PATCH] [1.7.x] Added HTTP 308 status and its description. Backport of 97adfc2bf8 from master --- django/http/response.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/http/response.py b/django/http/response.py index 27d99a621d..b3f44cdf92 100644 --- a/django/http/response.py +++ b/django/http/response.py @@ -42,6 +42,7 @@ REASON_PHRASES = { 305: 'USE PROXY', 306: 'RESERVED', 307: 'TEMPORARY REDIRECT', + 308: 'PERMANENT REDIRECT', 400: 'BAD REQUEST', 401: 'UNAUTHORIZED', 402: 'PAYMENT REQUIRED',