beacon-APIs icon indicating copy to clipboard operation
beacon-APIs copied to clipboard

Add 415 response as a reason to fail POSTs.

Open rolfyone opened this issue 3 years ago • 0 comments

Now that block posts are able to accept SSZ input, it is useful to be able to fail them on the basis that the server doesn't support the nominated type.

A caveat is probably that JSON should be supported by all servers, but its possible that some servers don't yet support SSZ type.

The client is then able to determine that the server they're connected to doesn't support SSZ (for example) and stop attempting requests that can't succeed.

rolfyone avatar May 22 '22 23:05 rolfyone