# HG changeset patch # User bsw # Date 1319482658 -7200 # Node ID cf05d9428eccd935f9b07cbcf7f73bcd068a1db7 # Parent ef8aff2e0f6770e77590227b3c801fa2b5ce50d0 Do not set Content-Length for json responses. Needs to be fixed again. diff -r ef8aff2e0f67 -r cf05d9428ecc lfapi/main.js --- a/lfapi/main.js Mon Oct 24 20:53:24 2011 +0200 +++ b/lfapi/main.js Mon Oct 24 20:57:38 2011 +0200 @@ -99,7 +99,7 @@ http_status, { 'Content-Type': content_type, - 'Content-Length': body.length + //'Content-Length': body.length // TODO doesn't work in chrome with JSONP } ); res.end(body);