Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 93474 invoked from network); 11 May 2008 14:03:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2008 14:03:51 -0000 Received: (qmail 80018 invoked by uid 500); 11 May 2008 14:03:53 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 79982 invoked by uid 500); 11 May 2008 14:03:52 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 79971 invoked by uid 99); 11 May 2008 14:03:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2008 07:03:52 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [89.16.172.240] (HELO bytesexual.org) (89.16.172.240) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2008 14:03:07 +0000 Received: from nslater by bytesexual.org with local (Exim 4.69) (envelope-from ) id 1JvC93-00030r-8A for couchdb-dev@incubator.apache.org; Sun, 11 May 2008 15:03:21 +0100 Date: Sun, 11 May 2008 15:03:21 +0100 From: Noah Slater To: couchdb-dev@incubator.apache.org Subject: Re: Runtime Configuration #1 Message-ID: <20080511140321.GC10450@bytesexual.org> Mail-Followup-To: couchdb-dev@incubator.apache.org References: <04DA14B5-0F98-4DED-9AB1-B1FEB50C62F7@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <04DA14B5-0F98-4DED-9AB1-B1FEB50C62F7@apache.org> Organization: The Apache Software Foundation X-Noah: Awesome User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nslater@bytesexual.org X-SA-Exim-Scanned: No (on bytesexual.org); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 23, 2008 at 11:35:07PM +0200, Jan Lehnardt wrote: > $ curl -X GET http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","value":"5984"} > $ curl -X PUT http://localhost:5984/_config/httpd/port -d "5985" > {"ok":true,"module":"httpd","key":"port","value":"5985"} Sweet. > $ curl -X DELETE http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","old_value":"5985"} Why bother with `old_value'? > $ curl -X GET http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","value":"no_value"} Should `"no_value"' not be `nil'? -- Noah Slater - The Apache Software Foundation