From haragx at gmail.com Thu Aug 15 11:58:08 2013 From: haragx at gmail.com (Phil Marneweck) Date: Thu, 15 Aug 2013 13:58:08 +0200 Subject: syntax-error: Got Content-Length header although input chunking is on. Message-ID: <520CC250.7020803@gmail.com> Hi I am getting this (Got Content-Length header although input chunking is on.") syntax-error when I do some api calls to twitter and facebook. The drakma code says to ;; see RFC 2616, section 4.4 But if I look at the documentation 4.4 says "If a message is received with both a Transfer-Encoding header field and a Content-Length header field, the latter MUST be ignored." I have hacked my local copy of drakma to do just that and it seems to work." Am I maybe missing something or not reading the spec right? Regards Phil From haragx at gmail.com Thu Aug 15 05:21:03 2013 From: haragx at gmail.com (Phil Marneweck) Date: Thu, 15 Aug 2013 07:21:03 +0200 Subject: "Got Content-Length header although input chunking is on." Message-ID: <520C653F.7070000@gmail.com> Hi I am getting this syntax-error when I do some api calls to twitter and facebook. The drakma code says to ;; see RFC 2616, section 4.4 But if I look at the documentation 4.4 says "If a message is received with both a Transfer-Encoding header field and a Content-Length header field, the latter MUST be ignored." I have hacked my local copy of drakma to do just that and it seems to work." Am I maybe missing something or not reading the spec right? Regards Phil