1
0
mirror of https://github.com/django/django.git synced 2025-10-26 23:26:08 +00:00

[py3] Removed excessive usage of smart_bytes

This commit is contained in:
Claude Paroz
2012-08-15 12:09:59 +02:00
parent 814fde32d9
commit f8ea12f36b
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ from django.core import signals
from django.core.handlers import base
from django.core.urlresolvers import set_script_prefix
from django.utils import datastructures
from django.utils.encoding import force_text, smart_bytes, iri_to_uri
from django.utils.encoding import force_text, smart_str, iri_to_uri
from django.utils.log import getLogger
logger = getLogger('django.request')
@@ -246,5 +246,5 @@ class WSGIHandler(base.BaseHandler):
response_headers = [(str(k), str(v)) for k, v in response.items()]
for c in response.cookies.values():
response_headers.append((str('Set-Cookie'), str(c.output(header=''))))
start_response(smart_bytes(status), response_headers)
start_response(smart_str(status), response_headers)
return response