-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZERO_LENGTH
RANGE status code
#276
Comments
OUT_OF_RANGE doesn't seem to be far off for this. |
So you mean using OUT_OF_RANGE for zero-length? We do not do it now. |
Yeah, it should be good enough. @cthulhu-rider? |
it's documented like this, so, according to them, we may respond with this status on any invalid range at the same time, for example, gRPC says that in total, i vote for P.S. zero |
Agree that OUT_OF_RANGE is more like an incorrect range (does not fit an object) while |
While technically we could use Streebog or something here, practically it'd be incompatible with current networks, so specific hash types are important. Signed-off-by: Roman Khimov <[email protected]>
|
We have OUT_OF_RANGE status code but if a request is with a zero-length, we return a general error cause that is not OUT_OF_RANGE in fact (but on our CLI, SDK, and SN levels it is prohibited).
Do we need some
ZERO_LENGTH
response code? Note: the current API does not say it MUST be prohibited.The text was updated successfully, but these errors were encountered: