Merge "Remove dead code in swob.Response.__init__."

This commit is contained in:
Jenkins 2012-11-02 22:51:38 +00:00 committed by Gerrit Code Review
commit 8f0a1aa1a5
1 changed files with 0 additions and 2 deletions

View File

@ -856,8 +856,6 @@ class Response(object):
self.boundary = "%.32x" % random.randint(0, 256 ** 16)
if request:
self.environ = request.environ
if request.range and self.status == 200:
self.status = 206
else:
self.environ = {}
self.headers.update(headers)