Upload

Attributes

URI:http://www.xmlpipe.org/xpe/util/filter/upload
Type:filter
Namespace:http://www.xmlpipe.org/xpe/util/upload
Owner:http://www.xmlpipe.org/xpe

Description

This filter uploads a file to a target URI where is accepts HTTP upload.

The filter reacts to the following XML fragment:

   <ul:upload  href="{target uri}"  xmlns:ul="http://www.xmlpipe.org/xpe/util/upload" >
      <ul:resource  href="{resource uri}" />
      +
      <resource  href="{resource uri}"  xmlns="" />
      +
   </ul:upload>

One or more resource can be uploaded to the target URI using the HTTP multipart POST as defined in section 8.3 of RFC1945 and redefined for HTTP 1.1 in section 9.5 of RFC2616.

If the uploading was successful, the returned result is included inside the upload element.