Re: XML Calabash 0.9.21 released

Florent Georges <fgeorges@fgeorges.org> writes:
>>  * In p:http-request, added support for a distribution attribute on
>>   c:body (needed for sending form data; this isn't in the spec yet but
>>   that's an oversight that will be fixed).
>
>   Would you have a bit more info about that?  What do you mean exactly
> by a distribution attribute?

If you want to POST multipart/form-data messages, you need a way to
specify the content-disposition of each part. See, for example,

  http://www.flickr.com/services/api/upload.example.html

The WG agreed to add a 'disposition' attribute to c:body for this
purpose, but I dropped the ball. We'll add it to the spec before the
REC comes out.

BTW, Flickr is also the motivation for my cx:send-binary attribute.
If you want to upload photos to Flickr, you must send the image data
as raw, binary data. They don't handle content-transfer-encoding
correctly. :-(

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The Future is something which everyone
http://nwalsh.com/            | reaches at the rate of sixty minutes an
                              | hour, whatever he does, whoever he
                              | is.--C. S. Lewis

Received on Monday, 19 April 2010 14:03:57 UTC