Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A396A4098 for ; Mon, 6 Jun 2011 16:33:38 +0000 (UTC) Received: (qmail 33802 invoked by uid 500); 6 Jun 2011 16:33:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33772 invoked by uid 500); 6 Jun 2011 16:33:36 -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 33762 invoked by uid 99); 6 Jun 2011 16:33:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 16:33:36 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@mooseyard.com designates 208.97.132.83 as permitted sender) Received: from [208.97.132.83] (HELO homiemail-a70.g.dreamhost.com) (208.97.132.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 16:33:30 +0000 Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id 3E4CF76808B for ; Mon, 6 Jun 2011 09:32:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=mooseyard.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=mooseyard.com; b=hRP7bVSdFqvHEx HMypKVGbH+OhtDN+omIY4Dg2TX5Qw1aothRHUKFblnG7Mqf9hjO7Yt2i6mrGMjvM 9M8Ov1oD1ibVbM9tn3RLV1s8l/IPGCdfkY92uEhnnHKoQyGoDvPv50K9eedWe/g+ ZswQkTjwbj0EyhUdJenD2Q19U/3fo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mooseyard.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=mooseyard.com; bh=7d8N5CUOppVqZEqGifPy sD0AzEM=; b=iTU67/UR0v3qEQiGML9yDnd0nFcmsJSgXcbrYYA/fDBh8GRONXem nNuEzz7jrrRcPMUqclDyp43ZymkOqX7WrwlYTE/Ixqdo3Xn+iJ55RUcN6eifB/ne iuDi/1JUl4wmBpGmRa8LKHeC4z89LExTDl7j/VwIDjA+tBTgwsdhym0= Received: from [10.0.1.114] (c-98-210-115-152.hsd1.ca.comcast.net [98.210.115.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jens@mooseyard.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id B2D52768092 for ; Mon, 6 Jun 2011 09:29:22 -0700 (PDT) From: Jens Alfke Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/signed; boundary=Apple-Mail-4-505564068; protocol="application/pkcs7-signature"; micalg=sha1 Subject: Re: Issue: _changes feed's Content-Encoding is wrong Date: Mon, 6 Jun 2011 09:29:22 -0700 In-Reply-To: To: user@couchdb.apache.org References: Message-Id: <374121D4-5342-4E9E-8630-D5663D127B06@mooseyard.com> X-Mailer: Apple Mail (2.1084) --Apple-Mail-4-505564068 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jun 5, 2011, at 10:54 PM, Pasi Eronen wrote: > Curl normally hides the chunked transfer encoding from the user. If > you add the "--raw" option (requires Curl >=3D7.16.2), the chunk > prefixes will be visible, too. Ah, you=92re right (and it makes sense, in hindsight, that curl does = that.) Hm, I=92ll have to search for another explanation of why my code = isn=92t working. But it was so easy to blame someone else :( =97Jens $ curl -i --raw = 'http://127.0.0.1:5984/demo-addresses/_changes?feed=3Dnormal' HTTP/1.1 200 OK Transfer-Encoding: chunked Server: CouchDB/1.1.1 (Erlang OTP/R14B) Etag: "1H2QIKQ2E49Q68SEOZB1CBFFF" Date: Mon, 06 Jun 2011 16:27:34 GMT Content-Type: text/plain;charset=3Dutf-8 Cache-Control: must-revalidate d {"results":[ 6a = {"seq":2,"id":"3aaa5e74e5d96db3b2248fb1c404f888","changes":[{"rev":"1-422b= dffd6eef915859d46a18bf373d74"}]} 6c , = {"seq":8,"id":"3aaa5e74e5d96db3b2248fb1c404eb65","changes":[{"rev":"7-7e83= 3e1c2ee3db8e4ae3f615c20ca592"}]} 12 ], "last_seq":8} 1 0 --Apple-Mail-4-505564068 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDSTCCA0Uw ggItoAMCAQICBUjISPaaMAsGCSqGSIb3DQEBATBjMQ0wCwYDVQQDEwRzbmVqMQ0wCwYDVQQqEwRK ZW5zMQ4wDAYDVQQEEwVBbGZrZTEQMA4GA1UEDRMHUXVldHphbDEhMB8GCSqGSIb3DQEJARQSamVu c0Btb29zZXlhcmQuY29tMCIYDzIwMTAxMTI4MDA0NDMwWhgPMjAxMTExMjgwMDQ0MzBaMGMxDTAL BgNVBAMTBHNuZWoxDTALBgNVBCoTBEplbnMxDjAMBgNVBAQTBUFsZmtlMRAwDgYDVQQNEwdRdWV0 emFsMSEwHwYJKoZIhvcNAQkBFBJqZW5zQG1vb3NleWFyZC5jb20wggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQC4kESh863xS9xdDN29PaXElXjcGvi8JOluvMQAeDIhDw2oPN03QSdSXGa3 jL0cnq5s/ZNU8/uAl/XMlta0FmigAm9xP9al5e/RJSOTcw40w2no1NmaKoHzyCutwBTZnFXVzfJL WxUjDl/faKdbv8Mh6vYA4y6GcScF8p7fXsPvIj6aB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