diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-03-22 16:34:15 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-04 18:27:38 +0200 |
commit | aaa9115cfd4096a4fb6cf0ffbc2c07c75ed3a751 (patch) | |
tree | 4edc3cea4624b764a301ee482190c5dfe184eb7c /testing/tests/server/test_auth.py | |
parent | 5acadaa7716a86448af02c3a078759ddddd45c85 (diff) |
[feature] use 409 status code for existing blob id
Raising was generating 500, which is a generic status code for server
side errors. This commit adds proper status code of 409 while handling
the error on client side by translating the code into a proper exception
class.
Diffstat (limited to 'testing/tests/server/test_auth.py')
0 files changed, 0 insertions, 0 deletions