I very much dislike HTTP response status codes. HTTP is very annoying because a request can fail in so many different ways: connection error, status code wrong, response may be invalid JSON, response may be valid JSON with an `"error"` property somewhere.

Reply to this note

Please Login to reply.

Discussion

and then the error codes don't even make any sense. there have universal absolute codes, but their meaning depends on the context anyway, so it's often not helpful.

oh I forgot it may also hang forever and never reply, or for 30 minutes, something like that.

with nostr if we reduce these 5 error conditions to just 2 that will be good enough.