Merge "Make multipart/byteranges boundary always length 32."

This commit is contained in:
Jenkins
2012年11月02日 19:37:36 +00:00
committed by Gerrit Code Review

View File

@@ -853,7 +853,7 @@ class Response(object):
self.body = body
self.app_iter = app_iter
self.status = status
self.boundary = "%x" % random.randint(0, 256 ** 16)
self.boundary = "%.32x" % random.randint(0, 256 ** 16)
if request:
self.environ = request.environ
if request.range and self.status == 200:
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.