[drakma-devel] question about encodings and content length calculation

Edi Weitz edi at agharta.de
Mon Dec 17 20:25:54 UTC 2007


On Mon, 17 Dec 2007 12:45:51 -0500, "Peter Eddy" <peter.eddy at gmail.com> wrote:

> Should I be calculating the length myself?

Yes.  See here:

  http://weitz.de/drakma/#content-length

One could argue that Drakma should be able to compute the right value
itself, but this is more trickier than one first thinks.  Of course,
if you think you know how to do this in a way that covers all corner
cases, I'd be happy to accept a patch.  The general design philosophy
of Drakma is that it should be as easy to use as possible.

  http://weitz.de/patches.html

Thanks,
Edi.



More information about the Drakma-devel mailing list