I also would like to see direct binary attachement upload as an alternative to the base64 encoded attachements. why waste cpu cycles?
On Tue, Apr 15, 2008 at 1:13 AM, Ralf Nieuwenhuijsen <[EMAIL PROTECTED]> wrote: > Hi, i'm tempting to go an all javascript route interfacing with couchdb. > (i'm using qooxdoo) > > But two potentional aspects worry me: > > 1. Will it be supported in the future to post an attachment directly? > This would make it possible ot use the browser to directly upload a file to > the couchdb server > > POST /somedatabase/somedoc/_attachment HTTP/1.0 <== adds a new attachment > > 2. Will it be possible to use allow a post alternative for put & delete > operations? > This would enable crossdomain usage using an iframe backend ;-) > > POST /somedatabase/_bulk_docs HTTP/1.0 <== put alternative > already exists! > POST /somedatabase/_bulk_delete HTTP/1.0 <== delete > alternative doesn't exist yet! > > PS. Do we delete attachment by just removing them from the document? > > Greetings, > Ralf > > > - > > This was a browser can be used to post attachments directly to the couchdb > server. >
