From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.72.79 with SMTP id l15cs71555bkj; Thu, 27 Aug 2009 17:40:12 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.114.105.14 as permitted sender) client-ip=10.114.105.14; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.114.105.14 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.114.105.14]) by 10.114.105.14 with SMTP id d14mr406822wac.9.1251420010479 (num_hops = 1); Thu, 27 Aug 2009 17:40:10 -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 :to:subject:from:date:mime-version:content-type :content-transfer-encoding:message-id:x-google-approved:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; bh=5ZjLYDfwAJ81TpWWbOftsIXYIbOGHbjseOWMU6hKxFw=; b=BGJheo+VzTrOS5vuUtC3cZoJ9y01IvZwRtz0U7w42uCGK9p+hzuQ9XZW/C254i8U01 MYYgN9jHxLevrYgElJGCc5mqHVR4UQIuYoyqr1ktj0zixeu45Pp4Fsn9O1C6k9EDRWfZ KyOFba7vsOUpckFkjEv42Tx5RE+MD4E+VME1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results:to :subject:from:date:mime-version:content-type :content-transfer-encoding:message-id:x-google-approved:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; b=bTUS5ZdnwqXmByHPeYAjhsDANRRjwjx06UewuzfNMayeRruEJjVPtQpcurNxyEZn6x TWYn2Waa1xxVIp+inbEVAKIjB9tTz/MHnjqZrb+g7+/0J1ncGH3VckitUIq/jsJ97Sfw MwpoCHiJIStBawW5s6x0wZgWKEdHKBwNsJKtM= Received: by 10.114.105.14 with SMTP id d14mr82136wac.9.1251420010422; Thu, 27 Aug 2009 17:40:10 -0700 (PDT) Received: by 10.106.139.12 with SMTP id m12gr1610prd.0; Thu, 27 Aug 2009 17:39:55 -0700 (PDT) X-Sender: ibc@aliax.net X-Apparently-To: rack-devel@googlegroups.com Received: by 10.210.82.2 with SMTP id f2mr767829ebb.8.1251419748676; Thu, 27 Aug 2009 17:35:48 -0700 (PDT) Received: by 10.210.82.2 with SMTP id f2mr767827ebb.8.1251419748657; Thu, 27 Aug 2009 17:35:48 -0700 (PDT) Return-Path: Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by gmr-mx.google.com with ESMTP id 14si177636ewy.5.2009.08.27.17.35.47; Thu, 27 Aug 2009 17:35:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.219.208 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) client-ip=209.85.219.208; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.208 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) smtp.mail=ibc@aliax.net Received: by ewy4 with SMTP id 4so1868644ewy.3 for ; Thu, 27 Aug 2009 17:35:47 -0700 (PDT) Received: by 10.211.165.11 with SMTP id s11mr10447982ebo.33.1251419747601; Thu, 27 Aug 2009 17:35:47 -0700 (PDT) Return-Path: Received: from ibc-laptop.localnet (10.216.218.87.dynamic.jazztel.es [87.218.216.10]) by mx.google.com with ESMTPS id 7sm492625eyb.18.2009.08.27.17.35.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 27 Aug 2009 17:35:46 -0700 (PDT) To: rack-devel@googlegroups.com Subject: Re: How to get the request headers from "env" hash? From: =?utf-8?q?I=C3=B1aki_Baz_Castillo?= Date: Fri, 28 Aug 2009 02:35:44 +0200 Mime-Version: 1.0 Content-Type: Text/Plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <200908280235.44184.ibc@aliax.net> X-Google-Approved: scytrin@gmail.com via web at 2009-08-28 00:39:55 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, 28 de Agosto de 2009, escribi=C3=B3: > env["rack.input"] contains a IO object with the request body, but I don't > see in the above hash how to get the request headers (any header). > > Thanks for any help. There is a class HeaderHash but as far as I realize by inspecting the code,= =20 it's just used to create the response, and not to store the request headers. Do I miss something? Thanks a lot. =2D-=20 I=C3=B1aki Baz Castillo