Bad special document member: __VERSION__

2012-12-28 Thread Paulo Edgar Castro
Hi all, I just bumped into this error in the subject. Upon further digging as per commit d748a328aec166047c81bcaf3dec6b0a885a2088, keys starting with an underscore are not accepted as valid... DB=http://127.0.0.1:5984/mydb; curl -X PUT $DB curl -H Content-Type:application/json -d

Re: CouchDB remote JavaScript Calls

2011-05-04 Thread Paulo Edgar Castro
Hi Mathias I think that this ( allow_jsonp ) is what you require to add to your local.ini or within local.d. Please re-check CouchDB documentation. [httpd] ;port = 5984 ;bind_address = 127.0.0.1 bind_address = 0.0.0.0 allow_jsonp = true Regards, PECastro On 04/05/11 23:16,

Content type response

2010-07-03 Thread Paulo Edgar Castro
Hi there. Is there a reason why I'm being returned a text/plain content type rather then a json one? I don't think I messed up with any of the server config files. Judging by the HTTP_database_API docs on the wiki shouldn't this be returning a JSON content-type? I'm having the same