kazcw 16f33f163d fix RPC error replies
After pull #4288, RPC messages indicating errors have a Content-Length unrelated
to their actual contents, rendering bitcoin-cli and curl unable to decode the
reply.

This patch sets the Content-Length field based on the actual content returned.

Additionally, pull #4288 clobbered the error descriptions provided in
ErrorReply, which bitcoin-cli relies upon; this patch moves #4288 http-error
descriptions to an HTTPError method, allowing HTTPReply to pass content on
unchanged.
2014-06-28 19:16:15 -07:00
..
2014-06-21 19:47:43 +02:00
2014-05-13 11:41:59 +02:00
2014-01-23 16:05:01 +01:00
2013-12-04 12:46:13 +01:00
2014-06-21 19:47:43 +02:00
2014-03-24 20:26:02 +00:00
2014-05-22 00:23:03 +07:00
2014-06-28 15:09:15 +02:00
2014-06-23 23:10:24 +02:00
2014-04-23 01:50:25 +02:00
2014-06-28 13:19:14 +02:00
2014-06-28 19:16:15 -07:00
2014-06-28 19:16:15 -07:00
2014-06-28 19:16:15 -07:00
2014-06-28 13:19:14 +02:00
2014-06-28 15:06:18 +02:00
2014-06-03 15:21:47 +02:00
2014-06-28 15:06:18 +02:00
2014-06-12 13:52:15 +02:00
2014-06-24 17:04:52 +02:00