summaryrefslogtreecommitdiff
path: root/django/http/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/http/response.py')
-rw-r--r--django/http/response.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/http/response.py b/django/http/response.py
index 0386ec3a94..a317f96eb4 100644
--- a/django/http/response.py
+++ b/django/http/response.py
@@ -8,19 +8,19 @@ import time
from email.header import Header
from django.conf import settings
-from django.core import signals
-from django.core import signing
+from django.core import signals, signing
from django.core.exceptions import DisallowedRedirect
from django.core.serializers.json import DjangoJSONEncoder
from django.http.cookie import SimpleCookie
from django.utils import six, timezone
-from django.utils.encoding import force_bytes, force_text, force_str, iri_to_uri
+from django.utils.encoding import (
+ force_bytes, force_str, force_text, iri_to_uri,
+)
from django.utils.http import cookie_date
from django.utils.six.moves import map
from django.utils.six.moves.http_client import responses
from django.utils.six.moves.urllib.parse import urlparse
-
_charset_from_content_type_re = re.compile(r';\s*charset=(?P<charset>[^\s;]+)', re.I)