ambry icon indicating copy to clipboard operation
ambry copied to clipboard

Frontend/router should be able to handle authorization failure.

Open zzmao opened this issue 7 years ago • 0 comments

Currently, store server authoriztion failutre is mapped to ServerErrorCode.Blob_Not_Found. However, router sends request for every replicas for Blob_Not_Found.

Create a new server error code, let router handle it, and finally return http 403 or 401 to client.

zzmao avatar Jan 31 '18 22:01 zzmao