W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2010

Re: XML Calabash 0.9.21 released

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 19 Apr 2010 10:03:11 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2k4s3r140.fsf@nwalsh.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 April 2010 14:03:57 GMT