From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.142.191.1 with SMTP id o1cs259020wff; Wed, 9 Dec 2009 15:15:26 -0800 (PST) Received: from mr.google.com ([10.91.215.18]) by 10.91.215.18 with SMTP id s18mr8580772agq.31.1260400526219 (num_hops = 1); Wed, 09 Dec 2009 15:15:26 -0800 (PST) Received: by 10.91.215.18 with SMTP id s18mr951461agq.31.1260400524680; Wed, 09 Dec 2009 15:15:24 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.213.104.96 with SMTP id n32ls381154ebo.1.p; Wed, 09 Dec 2009 15:15:22 -0800 (PST) Received: by 10.213.96.14 with SMTP id f14mr1413727ebn.23.1260400521808; Wed, 09 Dec 2009 15:15:21 -0800 (PST) Received: by 10.213.96.14 with SMTP id f14mr1413724ebn.23.1260400521401; Wed, 09 Dec 2009 15:15:21 -0800 (PST) Return-Path: Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by gmr-mx.google.com with ESMTP id 12si34926ewy.2.2009.12.09.15.15.21; Wed, 09 Dec 2009 15:15:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.224 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) client-ip=209.85.219.224; Received: by mail-ew0-f224.google.com with SMTP id 24so8635631ewy.26 for ; Wed, 09 Dec 2009 15:15:21 -0800 (PST) Received: by 10.213.2.73 with SMTP id 9mr544983ebi.21.1260400521195; Wed, 09 Dec 2009 15:15:21 -0800 (PST) Return-Path: Received: from ibc-laptop.localnet ([212.230.46.89]) by mx.google.com with ESMTPS id 15sm202241ewy.4.2009.12.09.15.15.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Dec 2009 15:15:20 -0800 (PST) From: =?utf-8?q?I=C3=B1aki_Baz_Castillo?= To: rack-devel@googlegroups.com Subject: Re: Why env.object_id is different in each middleware? Date: Thu, 10 Dec 2009 00:15:17 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.28-16-generic; KDE/4.3.2; x86_64; ; ) References: <200912092359.08240.ibc@aliax.net> In-Reply-To: <200912092359.08240.ibc@aliax.net> MIME-Version: 1.0 Message-Id: <200912100015.17445.ibc@aliax.net> X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.224 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) smtp.mail=ibc@aliax.net X-Original-Sender: ibc@aliax.net Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/5d93266373a372ea X-Message-Url: http://groups.google.com/group/rack-devel/msg/9ba4c59a4097e5b Sender: rack-devel@googlegroups.com List-Unsubscribe: , List-Subscribe: , Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable El Mi=C3=A9rcoles, 9 de Diciembre de 2009, I=C3=B1aki Baz Castillo escribi= =C3=B3: > Since env is a hash I cannot understand why its object_id changes. Any=20 > explanation for it? > This explains that when I change env[XXX] into my final appplication=20 > MyApp.handle_request the change doesn't exist after calling > resp =3D @app.call(env) > in the first middleware. If I add a env["LALA"] in the first middleware then it's visible for follow= ing=20 middlewares. However if I add env["LOLO"] in the second middleware this is not visible f= or=20 first middleware after calling "@app.call(env)". Is it the expected behavior? Thanks. =2D-=20 I=C3=B1aki Baz Castillo