incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Borwankar <ni...@borwankar.com>
Subject ids starting with " _" disallowed via Futon but not via HTTP doc api ?
Date Tue, 09 Jun 2009 04:07:05 GMT
Futon complains when I try to create a doc with id "_abc" but via curl no
problem.

NitinBorwankarsComputer:~ nitin$ curl -X PUT
http://127.0.0.1:5984/test/_abc-H "Content-Type: application/json" -d
{}
{"ok":true,"id":"_abc","rev":"1-3856470053"}

NitinBorwankarsComputer:~ nitin$ curl -X GET http://127.0.0.1:5984/test/_abc

{"_id":"_abc","_rev":"1-3856470053"}

So what's happening here - is Futon enforcing some future rule and HTTP API
not there yet or ....?

Nitin


37% of all statistics are made up on the spot
-------------------------------------------------------------------------------------
Nitin Borwankar
nborwankar@gmail.com

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