Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 12384 invoked from network); 26 Apr 2010 23:32:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Apr 2010 23:32:47 -0000 Received: (qmail 61430 invoked by uid 500); 26 Apr 2010 23:32:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 61394 invoked by uid 500); 26 Apr 2010 23:32:46 -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 61386 invoked by uid 99); 26 Apr 2010 23:32:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 23:32:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of narkisr@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 23:32:40 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1015350fgb.5 for ; Mon, 26 Apr 2010 16:32:18 -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=AZRdeLk6nJ/uax0+HcMGd1mZQ9XRWTtYJQrVqk978v0=; b=j4ZRYSpS+G2WyV2BOZObJlcdAWiDjPLFYdPekaBZqyK3Ji71/u3vUsu4nnm0fGhbyE +xeHmGULbcAyVHFyoeRMG/NCpjYdFElR6Xdz8WN4Blhm+gHCv1KiyiZ2xJ+lfpikiTda PeqC2sCP6lYiKb5xKaXDPU7OTZm5tKiRrCrxw= 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=sxeEzbPwC49PQjZEP/LILOE44AxlRpFcmbvfSvu3Svv8ZtLCbNtMDALXbPIvgvwxrd c3vco9w/Q0hUv1Q/1JxMfkU2l6k+aE8qeGfuGfVO+AG4L9Aw6fYMuKW04zfxIeT3qh9W qNak3RPazshJ/N3el7CkMA7NoYY6sZVKmqcKU= MIME-Version: 1.0 Received: by 10.239.193.4 with SMTP id g4mr450012hbi.192.1272324738699; Mon, 26 Apr 2010 16:32:18 -0700 (PDT) Received: by 10.239.148.196 with HTTP; Mon, 26 Apr 2010 16:32:18 -0700 (PDT) In-Reply-To: <5F20F813-F1F5-4786-97F9-3416C1468B5B@gmail.com> References: <5F20F813-F1F5-4786-97F9-3416C1468B5B@gmail.com> Date: Tue, 27 Apr 2010 02:32:18 +0300 Message-ID: Subject: Re: Couchdb document size From: Ronen Narkis To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636499da716d2da04852c30cd --001636499da716d2da04852c30cd Content-Type: text/plain; charset=ISO-8859-1 Thank you, it worked! On Mon, Apr 26, 2010 at 4:21 PM, Alexander Uvarov < alexander.uvarov@gmail.com> wrote: > curl -I -X HEAD "http://localhost:5984/dbname/your_doc_id" > > Content-Length: 70 > > But I could be wrong. > > On 26.04.2010, at 19:05, Ronen Narkis wrote: > > > Hello everyone, iv been trying to figure out how to get the byte size of > a > > document without GETing the document first, iv already tried to create a > > view and use something like JSON.stringify(doc).length > > however this approach is quite limiting, is there a better way to do > this? > > > > Thanks! > > Ronen > > --001636499da716d2da04852c30cd--