DevAuth support for reseller admins and an initial super admin. DevAuth server no longer needs the account ring or direct account server access. Proxy server supports account PUTs.
This commit is contained in:
@@ -124,7 +124,7 @@ class Connection(object):
|
||||
if response.status == 401:
|
||||
raise AuthenticationFailed()
|
||||
|
||||
if response.status != 204:
|
||||
if response.status not in (200, 204):
|
||||
raise ResponseError(response)
|
||||
|
||||
for hdr in response.getheaders():
|
||||
|
||||
@@ -172,7 +172,7 @@ class TestAccount(Base):
|
||||
|
||||
def testPUT(self):
|
||||
self.env.account.conn.make_request('PUT')
|
||||
self.assert_status(405)
|
||||
self.assert_status([403, 405])
|
||||
|
||||
def testAccountHead(self):
|
||||
try_count = 0
|
||||
|
||||
Reference in New Issue
Block a user