Merge "Remove dead code in swob.Response.__init__."
This commit is contained in:
commit
8f0a1aa1a5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user