From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.112.148 with SMTP id w20cs179399bkp; Sun, 10 May 2009 07:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.100.144.11 as permitted sender) client-ip=10.100.144.11; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.100.144.11 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.100.144.11]) by 10.100.144.11 with SMTP id r11mr3856522and.19.1241964653023 (num_hops = 1); Sun, 10 May 2009 07:10:53 -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-spf:authentication-results:received :dkim-signature:domainkey-signature:mime-version:received :in-reply-to:references:from:date:message-id:subject:to:content-type :content-transfer-encoding:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; bh=lhUQa45Qn9vP4Lq1z7aFsjuSGjwYIPqwl4Yx9oTjWz4=; b=XGCNeYcqNFLE2IcUN1ZcSh7TMyrdQjXSEzjgLP7rAz6aJZhYIy+tylbP90rEMfVoEc gnPCRyidHNI4x2y22GW9y8MybeV6hlF4fc+3ZCGnhJmp7PL3XTjV+l846NKbTcmZbmHu ofxK6/PJEc3KNcItirujISqRC5w0H+pRTOpwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:mime-version:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; b=NOLWcP/7iD92YpBPnz9eRsqA0E410q9/ZwzNG1mEvFFpkepp9pJ6OGTacMdVKgP4qf od9JAlUFkNCz3cnTJp8l8KlNsaXBJuu5Tt0Uvl6kZB3OQLT2pR54IRRFU6t5AIczdfvi fgoLS/PP02Xl3GPSyYw0eo5tX/SOZQ4GJouwQ= Received: by 10.100.144.11 with SMTP id r11mr592942and.19.1241964652823; Sun, 10 May 2009 07:10:52 -0700 (PDT) Received: by 10.106.156.36 with SMTP id d36gr1307pre.0; Sun, 10 May 2009 07:10:52 -0700 (PDT) X-Sender: joshpeek@gmail.com X-Apparently-To: rack-devel@googlegroups.com Received: by 10.150.91.20 with SMTP id o20mr4530726ybb.2.1241964652194; Sun, 10 May 2009 07:10:52 -0700 (PDT) Return-Path: Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by gmr-mx.google.com with ESMTP id 39si310659yxd.7.2009.05.10.07.10.51; Sun, 10 May 2009 07:10:51 -0700 (PDT) Received-SPF: pass (google.com: domain of joshpeek@gmail.com designates 74.125.92.26 as permitted sender) client-ip=74.125.92.26; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of joshpeek@gmail.com designates 74.125.92.26 as permitted sender) smtp.mail=joshpeek@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by qw-out-2122.google.com with SMTP id 5so1281449qwd.49 for ; Sun, 10 May 2009 07:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=+W630NGmjS6fy0Amtfv0ip3ndxbbGAD0hiypOGbMlko=; b=VyAMKz0Z/UOhyEMGPFizx63ti9toqShAjDNQANCrM8HXPkR0aQvsyTGPqq35D41//A cg2rrTX/pYzSi0/TNYuGWmoArG051BQEbwFcagIajA9kfvt3mQ86Ipw4tRKtam6BSnFT 5xFRYbJcaaoEd5hSML4C/VmgnJlW1aAnr6h/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=QzWeoKUDizvEM7izbXe6rtPLtnxpu95xYUAgBH34o8cZctmrv2G5OWfdeKwgUSinad TxTmX7sXMPJg9XGf0w1AjZkApsqityF4fdIbfNu4+bj2DoZ80QvE88b8Rn6LcoJ4sd8J fLJhlI0IHm8mhu64mEwg2v82sd0z16CejKVCM= MIME-Version: 1.0 Received: by 10.224.19.196 with SMTP id c4mr4345416qab.24.1241964651075; Sun, 10 May 2009 07:10:51 -0700 (PDT) In-Reply-To: References: From: Joshua Peek Date: Sun, 10 May 2009 09:10:31 -0500 Message-ID: <1c5622660905100710k104fc87fpf185716ac7c39dfd@mail.gmail.com> Subject: Re: Rack as a client-side spec To: rack-devel@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 This sounds pretty cool. I don't think anything needs to be done SPEC wise. We just need some good tools here. Something to build raw http requests from an env hash, and something to parse http requests (servers do this now). Maybe a general tool like Rack::Utils.build_request(env) and Rack::Utils.parse_request(io) would be a useful addition. On Sun, May 10, 2009 at 6:35 AM, Christian Neukirchen wrote: > > Tim Carey-Smith writes: > >> Does this sound like a good idea? It means we can leverage the power >> of middleware on the client-side too. > > It's awesome! > > -- > Christian Neukirchen =C2=A0 =C2=A0http://chneukir= chen.org > --=20 Joshua Peek