Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Dave Cottlehuber
On 8 May 2011 11:56, Andrew Stuart (SuperCoders) wrote: > Hi Martin > > What language did you build this functionality in?  What do you mean by > "couchdb external process"? Basically you wrap some couch lovin' around a stdin/stdout json pipeline. http://wiki.apache.org/couchdb/ExternalProcesses

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Ajai Khattri
On Sun, 8 May 2011, Andrew Stuart (SuperCoders) wrote: > What language did you build this functionality in? What do you mean > by "couchdb external process"? Either some process started from a web service or the server-side script itself probably? You could probably write this in Ruby, Python

Re: Welcome Randall Leeds and Robert Dionne as new Committers

2011-05-07 Thread till
On Fri, May 6, 2011 at 9:56 AM, Jan Lehnardt wrote: > Dear developers, users, Randall and Robert, > > the Apache CouchDB PMC voted both Randall Leeds and Robert Dionne > into the team of CouchDB committers. > > Both have been long time contributors and are valuable members > of the community and d

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Andrew Stuart (SuperCoders)
Hi Martin What language did you build this functionality in? What do you mean by "couchdb external process"? thanks Andrew On 08/05/2011, at 6:10 AM, Martin Higham wrote: We do this in one of apps. We have an CouchDB external process that makes all the necessary calls to create the dat

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Martin Higham
We do this in one of apps. We have an CouchDB external process that makes all the necessary calls to create the database (by replicating a template database), creating the user account and then setting security roles. I'll see what I can do to make the code publicly available. Martin On 7 Ma

Re: how to change the default content-type

2011-05-07 Thread Benoit Chesneau
On Sat, May 7, 2011 at 6:12 PM, István wrote: > $ curl -D - -X GET -H "Content-Type: application/json" > http://couch.nohup.hu/nohup_urls/c08b5c2c03d31ee767ab891223000d72 > HTTP/1.1 200 OK > Server: nginx/1.0.0 > Date: Sat, 07 May 2011 16:11:57 GMT > Content-Type: text/plain;charset=utf-8 > Connec

Re: how to change the default content-type

2011-05-07 Thread Alexander Shorin
Try to pass "Accept: application/json" header instead of "Content-Type" which marks type of returned content, not requested. Missed Accept headers means all types are expectable and nginx thought that text/plain is good one. -- ,,,^..^,,, On Sat, May 7, 2011 at 8:12 PM, István

Re: how to change the default content-type

2011-05-07 Thread István
$ curl -D - -X GET -H "Content-Type: application/json" http://couch.nohup.hu/nohup_urls/c08b5c2c03d31ee767ab891223000d72 HTTP/1.1 200 OK Server: nginx/1.0.0 Date: Sat, 07 May 2011 16:11:57 GMT Content-Type: text/plain;charset=utf-8 Connection: keep-alive Vary: Accept-Encoding Etag: "1-e643d169eb859

Re: how to change the default content-type

2011-05-07 Thread Alexander Shorin
Is it for show documents? Just return {json: } in this case. -- ,,,^..^,,, On Sat, May 7, 2011 at 7:24 PM, István wrote: > Hi, > > is there an easy way to change the default content type > from  text/plain;charset=utf-8 to application/json somehow? > > Regards, > Istvan > > > -

how to change the default content-type

2011-05-07 Thread István
Hi, is there an easy way to change the default content type from text/plain;charset=utf-8 to application/json somehow? Regards, Istvan -- the sun shines for all

Re: Any existing code/samples/examples for couchdb self service?

2011-05-07 Thread Ajai Khattri
Im working on a similar app. I imagine you could write a web service that your app connects to, that creates the database on your db server. On May 7, 2011 1:48 AM, "Andrew Stuart (SuperCoders)" < andrew.stu...@supercoders.com.au> wrote: > Hi, > > The app I am designing needs to create an individu

problem bulk loading verion 0.11

2011-05-07 Thread Mauro Fagnoni
Hi all, I have some problems with the bulk loading of some files. json (file is 1200 and i example myfile.json0, myfile.json1 ecc..) by curl. Using version 0.8 I run the bulk_loading only a few files after that gives me a timeout error (this error is not always the same file) the command that I

Re: GeoCouch compiling problem with actual version

2011-05-07 Thread e0075088
I got it working now. The problem was that I've been using an old Xulrunner version. I've upgraded to Xulrunner 2.0 and reinstalled CouchDB 1.0.2 by following the instructions provided by Paul Devis in one of the other posts. With the new installation of CouchDB GeoCouch works without any p