[drakma-devel] Problem with Drakma and character encoding

Edi Weitz edi at agharta.de
Mon Jun 4 20:55:20 UTC 2007


On Mon, 4 Jun 2007 22:46:33 +0200, "Mathias Dahl" <mathias.dahl at gmail.com> wrote:

> I have now tested this and it works like a charm, so I don't need my
> hacks anymore. Yay! :)

Good... :)

> I first used the :PARAMETERS keyword without specifying the
> :FORM-DATA keyword, and that works as well as providing it. Are
> there any drawbacks of NOT using :FORM-DATA when just sending form
> fields (i.e.  no files)? Note: one of the form fields can be quite
> large (maybe up to a thousand characters) sometimes.

AFAIK there aren't if you're /not/ sending files.  The size of the
request body shouldn't make a difference as it's a POST request
anyway.

The only other difference that comes to mind right now is that with
multipart/form-data you can potentially use different encodings for
different fields.  I never did that, though, and I wouldn't know why
one should do it (and if the receiving end can cope with it).

Oh, one other difference that just occurs to me is that for large
fields Drakma might be a tad faster if you're using :FORM-DATA.  But
you should only care about this if you really have performance
problems.



More information about the Drakma-devel mailing list