Re: (context post by jgarzik)

Figures: Jeff Garzik
Quote from: gavinandresen on August 03, 2010, 9:56:44 AM UTC
Quote from: Jeff Garzik on August 03, 2010, 9:09:08 AM UTC

bitcoin requires the Content-Length header, but several JSON-RPC libraries do not provide it. When the Content-Length header is absent, bitcoin returns 500 Internal Server Error.

Can you be more specific about which JSON libraries don’t provide Content-Length ? It’d be nice to document that.

The two JSON RPC libs available at CPAN (Perl), and a compliant C lib that I wrote locally to verify the behavior.