Hi All,

I'm trying to create a view by using an http PUT instead of POST. I'm trying
to PUT to http://localhost:5984/somedatabase/_design/myview, but instead of
creating a document with an id of "_design/myview", it creates a document
with an id of "_design", with an attachment called "myview". I have also
tried url-encoding so that the url is
http://localhost:5984/somedatabase/_design%2fmyview, but I get exactly the
same result.

Is this a bug, or am I doing something wrong? Do I have to create views
using a POST?

I'm using the latest version of CouchDB from svn.

Thanks,

Alex

Reply via email to