Phil. thank you for reporting the bug. I agree with your analysis and came up with a patch:
https://github.com/edicl/drakma/commit/1728e3f964b1b7146c779efaab791a93d034c7f8 Please let me know if this solves the problem for you. Thanks, Hans 2013/8/15 Phil Marneweck <har...@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 > > >