lfapi
changeset 6:cf05d9428ecc
Do not set Content-Length for json responses. Needs to be fixed again.
author | bsw |
---|---|
date | Mon Oct 24 20:57:38 2011 +0200 (2011-10-24) |
parents | ef8aff2e0f67 |
children | 3b08c5ed16e6 |
files | lfapi/main.js |
line diff
1.1 --- a/lfapi/main.js Mon Oct 24 20:53:24 2011 +0200 1.2 +++ b/lfapi/main.js Mon Oct 24 20:57:38 2011 +0200 1.3 @@ -99,7 +99,7 @@ 1.4 http_status, 1.5 { 1.6 'Content-Type': content_type, 1.7 - 'Content-Length': body.length 1.8 + //'Content-Length': body.length // TODO doesn't work in chrome with JSONP 1.9 } 1.10 ); 1.11 res.end(body);