summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYazhong Liu <yorkiefixer@gmail.com>2014-06-20 22:23:37 +0800
committerTim Graham <timograham@gmail.com>2014-06-20 13:36:36 -0400
commit33403790e6beb93f653a38189ad0e216678d3f3c (patch)
tree44f1814c82b09005258ab35a09148266143894cc
parent6e5a7367524d3e3abd3d0f60f2e8a41796908101 (diff)
[1.7.x] Added HTTP 308 status and its description.
Backport of 97adfc2bf8 from master
-rw-r--r--django/http/response.py1
1 files changed, 1 insertions, 0 deletions
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',