redis-specifications icon indicating copy to clipboard operation
redis-specifications copied to clipboard

RESP3: Clarify whether blob errors can be streamed, or have size -1

Open 414owen opened this issue 1 year ago • 1 comments

The blob error section says

It is exactly like the String type

Maybe this should read the blob string type, for clarity?


Blob strings can be parsed normally, as null, or streamed. Which of these also apply to blob errors? If they're exactly the same, than I guess all of the above, but I'm guessing it wasn't the intention of the spec authors to allow for null blob errors (!-1\r\n)?


If, as I suspect, blob errors cannot be streamed or null, then maybe the line about it being the exact same as the String type could be tweaked to reflect that it means the non-streamed, non-null, sized blob string RESP form?

414owen avatar Jan 20 '24 22:01 414owen