Merge "Remove dead code in swob.Response.__init__."
This commit is contained in:
1 changed files with 0 additions and 2 deletions
@@ -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)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.