Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 84062 invoked from network); 2 Nov 2009 20:07:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 20:07:20 -0000 Received: (qmail 9204 invoked by uid 500); 2 Nov 2009 20:07:20 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 9162 invoked by uid 500); 2 Nov 2009 20:07:19 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 9153 invoked by uid 500); 2 Nov 2009 20:07:19 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 9150 invoked by uid 99); 2 Nov 2009 20:07:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 20:07:19 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 20:07:16 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 03D6A16E09; Mon, 2 Nov 2009 20:06:55 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 02 Nov 2009 20:06:55 -0000 Message-ID: <20091102200655.6972.85417@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22ExternalProcesses=22_by_AdamKoc?= =?utf-8?q?oloski?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "ExternalProcesses" page has been changed by AdamKocoloski. http://wiki.apache.org/couchdb/ExternalProcesses?action=3Ddiff&rev1=3D7&rev= 2=3D8 -------------------------------------------------- = The response object has five possible elements = - * ''code'' - HTTP response code [Default is 200] + * ''code'' - HTTP response code [Default is 200]. Note that this must be= a number and cannot be a string (no ""). - * ''headers'' - An object with key-value pairs that specify HTTP headers= to send to the client + * ''headers'' - An object with key-value pairs that specify HTTP headers= to send to the client. * ''json'' - An arbitrary JSON object to send the client. Automatically = sets the Content-Type header to "application/json" * ''body'' - An arbitrary BLOB to be sent to the client. Content-Type he= ader defaults to "text/html" * ''base64'' - Arbitrary binary data for the response body, base64-encod= ed @@ -58, +58 @@ = * When responding to queries always remember to turn off buffering for '= 'stdout'' or issue a ''flush()'' call on the file handle. * All interaction is in the form of single lines. Each response should i= nclude *exactly* one new line that terminates the JSON object. + * CouchDB 0.10 looks for a case-sensitive match of the Content-Type head= er -- a user-defined header must specify "Content-Type", not "content-type"= or "CoNtEnT-type". This is fixed in future releases. = =3D=3D Configuration =3D=3D =20