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

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)
Reference in New Issue
openstack/swift
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.

The note is not visible to the blocked user.