On Tue, Sep 8, 2009 at 4:58 AM, Shawn McDermott<[email protected]> wrote: > On Thu, Sep 3, 2009 at 5:26 PM, Oliver Boermans <[email protected]> wrote: > >> 2009/9/3 Shawn McDermott <[email protected]>: >> > I have a simple html/javascript app that uploads an attachment to a >> > document. However, once it is uploaded I want to rename it to a >> consistent >> > name. Is there a way to do this in 0.9.1? >> >> I expect this would require some kind of middleware to handle the file >> upload so the file can be renamed before it is inserted into couchdb. >> If I’m wrong I’d love to be corrected. >>
If we don't already support it, this would be a good use of the HTTP MOVE verb (since it operates on a single document it could be atomic) > > Thanks. I suspected that. I was attempting to develop this simple app with > no need for a middle tier. > -- Chris Anderson http://jchrisa.net http://couch.io
