using PUT method with parameters

Edi Weitz edi at agharta.de
Wed Jul 17 08:42:36 UTC 2013


I'm also on vacation, so just a quick response:

On Wed, Jul 17, 2013 at 8:54 AM, Hans Hübner <hans.huebner at gmail.com> wrote:
> First off, it seems that DRAKMA restricts the use of file upload parameters
> to POST requests in the WHEN form that you pasted.  I do not think that is
> the right thing, as the HTTP standard does not restrict the use of request
> bodies to specific methods.

I think you're mixing up two things - request bodies and parameters.
Drakma doesn't disallow request bodies - that's what CONTENT is for.
But Drakma simply doesn't know what to do with file parameters if
you're not sending a POST request as they only make sense with form
data.

I don't think the patch is useful.

Peter, why are you not using :CONTENT?

Cheers,
Edi.



More information about the Drakma-devel mailing list