From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.86.23.1 with SMTP id 1cs145860fgw; Fri, 4 Sep 2009 12:21:05 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.141.12.13 as permitted sender) client-ip=10.141.12.13; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.141.12.13 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.141.12.13]) by 10.141.12.13 with SMTP id p13mr1016343rvi.14.1252092064801 (num_hops = 1); Fri, 04 Sep 2009 12:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received:received-spf:received:received:received :from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id:reply-to:sender :precedence:x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; bh=Ix5s1zI+AVtDH6NZphGRiNYexmXC72EaD7ZQHbhylKQ=; b=L8hPGeVE2NFyo90IQsBPOnQpfvIpD3YkQ6NK+KoipoMysB6qDSvdo3OcfIwfgxypK5 SRQqxMxbVTQCroxfPEvVOOODeNwjGWuqm4aGcjNt+ZXnQx6faRfO/zWdq+kmvuyo4LtE 7od+RqQIMrW34OkuCR2tXD+1ZqG5AbLvuEDiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results:from :to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id:reply-to:sender :precedence:x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; b=yD52coS+jFZe0rWAbZ/mVhvRf3JYHQXvfbboKzM9/2uckUbGD0XgeLB7blor7zoOHl 0DRZV8dBGJ4D2TUEalsULlUpW4s6aTW8hFGdnEfXk5rahEJggd03m/qXws4BxPgTHEy8 QL37ltwgwFQqCAXnJizNsArWfCxv1Jb87CpLE= Received: by 10.141.12.13 with SMTP id p13mr174165rvi.14.1252092064749; Fri, 04 Sep 2009 12:21:04 -0700 (PDT) Received: by 10.176.233.14 with SMTP id f14gr1636yqh.0; Fri, 04 Sep 2009 12:20:57 -0700 (PDT) X-Sender: ibc@aliax.net X-Apparently-To: rack-devel@googlegroups.com Received: by 10.103.50.33 with SMTP id c33mr223046muk.3.1252092055782; Fri, 04 Sep 2009 12:20:55 -0700 (PDT) Received: by 10.103.50.33 with SMTP id c33mr223045muk.3.1252092055742; Fri, 04 Sep 2009 12:20:55 -0700 (PDT) Return-Path: Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by gmr-mx.google.com with ESMTP id 3si127980fgg.9.2009.09.04.12.20.55; Fri, 04 Sep 2009 12:20:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.216 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) client-ip=209.85.220.216; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.220.216 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) smtp.mail=ibc@aliax.net Received: by fxm12 with SMTP id 12so975192fxm.44 for ; Fri, 04 Sep 2009 12:20:55 -0700 (PDT) Received: by 10.86.22.12 with SMTP id 12mr5385311fgv.69.1252092055516; Fri, 04 Sep 2009 12:20:55 -0700 (PDT) Return-Path: Received: from ibc-laptop.localnet (1.217.218.87.dynamic.jazztel.es [87.218.217.1]) by mx.google.com with ESMTPS id 4sm3042911fge.14.2009.09.04.12.20.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 12:20:54 -0700 (PDT) From: =?iso-8859-1?q?I=F1aki_Baz_Castillo?= To: rack-devel@googlegroups.com Subject: Re: CommonLogger (and Clogger) generates strange symbols in the response body Date: Fri, 4 Sep 2009 21:20:47 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.28-15-generic; KDE/4.3.1; x86_64; ; ) References: <200909040102.14378.ibc@aliax.net> <20090904191325.GA29915@dcvr.yhbt.net> In-Reply-To: <20090904191325.GA29915@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200909042120.47501.ibc@aliax.net> Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com El Viernes, 4 de Septiembre de 2009, Eric Wong escribi=F3: > > > For performance reasons, the next version of Rack will instead log the > > > existing "Content-Length" header if one exists, and '-' if it doesn't; > > > skipping the wrapping of the body[1]. > > > > Does it mean that with the next version I would get a non chunked > > transfer encoded body even if I use CommonLogger? > > >=20 > Yes, however you might want to load the Rack::ContentLength middleware > in front of CommonLogger to ensure the length can get logged correctly > as a result. But if I use Clogger then I don't need to add Rack::ContentLength, right? Thanks again. =2D-=20 I=F1aki Baz Castillo