summaryrefslogtreecommitdiff
path: root/django
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:35:59 -0400
commit97adfc2bf8393d1128917ea1f57f3c3a7ef8caa6 (patch)
tree7b77c4261bd183f9c0ac91990de13fdf32d9458d /django
parent407d070329b4df81dab488db35bb068976e3be43 (diff)
Added HTTP 308 status and its description.
Diffstat (limited to 'django')
-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',