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:
gholt
2010-09-10 13:40:43 -07:00
parent 118ffba216
commit b56bf3a0f3
11 changed files with 284 additions and 168 deletions

View File

@@ -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():

View File

@@ -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