incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Nieuwenhuijsen" <ralf.nieuwenhuij...@gmail.com>
Subject Posting an attachment directly
Date Mon, 14 Apr 2008 23:13:25 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message