syntax-error: Got Content-Length header although input chunking is on.

Phil Marneweck haragx at gmail.com
Thu Aug 15 11:58:08 UTC 2013


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




More information about the Drakma-devel mailing list