Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 24778 invoked from network); 21 May 2010 12:27:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 12:27:27 -0000 Received: (qmail 22410 invoked by uid 500); 21 May 2010 12:27:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 22357 invoked by uid 500); 21 May 2010 12:27:25 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 22348 invoked by uid 99); 21 May 2010 12:27:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 12:27:25 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dbfclark@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 12:27:17 +0000 Received: by gwj20 with SMTP id 20so522151gwj.11 for ; Fri, 21 May 2010 05:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=UGo1E4P59cO5OME6V2vN1aXlti1gPDFuTUEYVyNIQjg=; b=elUVGTraQlf6lmkMc2TU/4xUoT8N2KKNdUB5khJHNIWsD7IL6tglYnCu9nKtS4Zkzw gs+S87Qq8a8Op7dQ393S1slHQQ83uEYQ9K537PdBQMznfxp00kq38ra6ySRpYcoXcGx5 J4mEEvixN9oAY6anmoS+JU+sUEyVpI6Q7sB4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eJPXxBzWSdnJOP6bn/97EvYNbBzl4iHyr4mN9/ddnu+0HMH/YIycd2HK65wmnwFCCT dVwDXLxaOufHmxcXnw80+G88Qv8W9xtw61/vHrichAQ9apyuCM3XlMVr5tz0nkKfp+SK tZYGtouMkF9iTIQJjqo5EplAXnL6gnJ4YbbvI= MIME-Version: 1.0 Received: by 10.101.105.3 with SMTP id h3mr2000538anm.160.1274444815184; Fri, 21 May 2010 05:26:55 -0700 (PDT) Received: by 10.100.95.9 with HTTP; Fri, 21 May 2010 05:26:54 -0700 (PDT) In-Reply-To: References: <4BF1DA1A.40504@gmail.com> <4BF374C9.1000206@gmail.com> <4BF4B00A.50202@skippinet.com.au> Date: Fri, 21 May 2010 08:26:54 -0400 Message-ID: Subject: Re: Strange ajax problem From: Dennis Clark To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636c926827eb5a9048719ce77 X-Virus-Checked: Checked by ClamAV on apache.org --001636c926827eb5a9048719ce77 Content-Type: text/plain; charset=ISO-8859-1 Ah, having a reply-all problem. I have now in fact tried querying the list function looking like this: function (head,req) { provides("html", function (){ return "blah"; }); return "foo"; } using jquery, with identical results: [error] [<0.5065.9>] function_clause error in HTTP request [info] [<0.5065.9>] Stacktrace: [{mochiweb_util,parse_qs_key,[undefined,[]]}, {mochiweb_util,parse_qs,2}, {couch_httpd_external,json_req_obj,3}, {couch_httpd_show,start_list_resp,6}, {couch_httpd_show,finish_list,7}, {couch_query_servers,with_ddoc_proc,2}, {couch_httpd_db,do_db_req,2}, {couch_httpd,handle_request_int,5}] And still, querying directly in the browser window or with curl gets me a 200 and the right result. --001636c926827eb5a9048719ce77--