You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently RestServiceErrorCode.UnsupportedHttpMethod maps to a 400 status code. Instead it should map to 405 and should return the methods allowed (POST, GET, DELETE and HEAD).
The text was updated successfully, but these errors were encountered:
This does present a problem because a BlobStorageService might not support all of POST, GET, DELETE and HEAD (AdminBlobStorageService does not support POST) but they can handle the 405 independently. The user experience might be inconsistent in this case but this stop gap solution can work until we find a more elegant solution.
Well the idea should be splitting the BlobStorageService interface, for the sake of Interface segregation principle. What do you think having a different interface for each use case. It would be
Currently
RestServiceErrorCode.UnsupportedHttpMethod
maps to a 400 status code. Instead it should map to 405 and should return the methods allowed (POST, GET, DELETE and HEAD).The text was updated successfully, but these errors were encountered: