原始文献 / 论坛帖 / Re: bitcoind not responding to RPC
Re: bitcoind not responding to RPC
Bitcointalk · 2010-07-24 01:15:58 UTC
AuthorSatoshi Nakamoto
TitleRe: bitcoind not responding to RPC
Date2010-07-24 01:15:58 UTC
ForumBitcointalk · 原文
谁能确认一下,JSON-RPC over HTTP 在回复是错误回复时,是不是应该用状态 500?我记不清在哪看到的了,也许记错了。200 似乎更合理,除非 HTTP 请求本身的机制出了问题。(也许原文就是这么说的,是我忘了,还把 500 散播到了所有错误响应)
英文原文
Can anyone confirm if JSON-RPC over HTTP is supposed to use status 500 if the reply is an error reply? I can't remember where I picked that up, maybe it's wrong. It seems like 200 would make more sense unless there's something wrong with the mechanics of the HTTP request itself. (and maybe that's what it said and I forgot and spread 500 to all error responses)
