Also, it is typically assumed that 5xx return codes are retryable while 4xx are not. So, I don't think that not implemented method should return 5xx, because it is pointless to retry it.
[0] https://github.com/levkk/rwf/tree/main/examples/rest#restcon...