Subject: | failures with authorization header because it includes extra newline |
I'm trying to use AnyEvent::JSONRPC::HTTP::Client to connect to a
bitcoin server, but it is failing because the authorization header
includes an extra newline because of the encode_base64 call. The newline
needs to be removed before the header is sent.