From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.239.138.72 with SMTP id o8cs29506hbo; Tue, 20 Apr 2010 00:17:48 -0700 (PDT) Received-SPF: pass (google.com: domain of rack-devel+bncCJiRqd7pARCZqrXeBBoEqkD5Gg@googlegroups.com designates 10.91.121.9 as permitted sender) client-ip=10.91.121.9; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCJiRqd7pARCZqrXeBBoEqkD5Gg@googlegroups.com designates 10.91.121.9 as permitted sender) smtp.mail=rack-devel+bncCJiRqd7pARCZqrXeBBoEqkD5Gg@googlegroups.com; dkim=pass header.i=rack-devel+bncCJiRqd7pARCZqrXeBBoEqkD5Gg@googlegroups.com Received: from mr.google.com ([10.91.121.9]) by 10.91.121.9 with SMTP id y9mr8354955agm.33.1271747866903 (num_hops = 1); Tue, 20 Apr 2010 00:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:received:received:mime-version :subject:from:in-reply-to:date:message-id:references:to:x-pgp-agent :x-mailer:x-original-authentication-results:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=tr1I7Bw1SdNv0ccc8XtAwdDAmokdQbWvgXQaS+lCrvA=; b=LECEqZcvDHEdjH31y9143vEWC1b8TZL9qhqTfSs6Kw4uqDEnyNiOLSvwqXNROQ+upV bRX6LOHQNqe7UiK6T1PspRFta5tdAsqdPnSeU7G2H3tV4Ebpf9cbz9T/cP5og05hHjDu PUx6X3HBTECTtQzU2KLfEBiTC7kPzrrcOusMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:subject:from:in-reply-to:date :message-id:references:to:x-pgp-agent:x-mailer :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; b=2b9tb1YM0uTYeG9D5r1RsZLbhyND05j7cvCSKQmpqyzvf20ymfcVpK9gyJljSyYpPl zRUBPKh5iuypM1EvhsYKGxG2p5X1wUf0cKipNbe5n4pCbgxd5oNmLdFcgI3U+MTz42ce myLS+je8HVTi39Y+jkqEHgc+HG/PYM4Z9eG88= Received: by 10.91.121.9 with SMTP id y9mr1786586agm.33.1271747865239; Tue, 20 Apr 2010 00:17:45 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.204.35.68 with SMTP id o4ls4566990bkd.1.p; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Received: by 10.204.163.19 with SMTP id y19mr365687bkx.22.1271747863365; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Received: by 10.204.163.19 with SMTP id y19mr365686bkx.22.1271747863323; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Return-Path: Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by gmr-mx.google.com with ESMTP id 11si1023232bwz.2.2010.04.20.00.17.43; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.218.216 is neither permitted nor denied by best guess record for domain of k.haase@finn.de) client-ip=209.85.218.216; Received: by mail-bw0-f216.google.com with SMTP id 8so5162305bwz.3 for ; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Received: by 10.204.128.68 with SMTP id j4mr3005902bks.49.1271747863082; Tue, 20 Apr 2010 00:17:43 -0700 (PDT) Return-Path: Received: from [172.16.22.105] ([141.89.226.149]) by mx.google.com with ESMTPS id 15sm3522016bwz.12.2010.04.20.00.17.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Apr 2010 00:17:42 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: multipart response possible with Rack? From: Konstantin Haase In-Reply-To: <4BCD5107.50905@gmx.at> Date: Tue, 20 Apr 2010 09:17:37 +0200 Message-Id: <627838DC-B482-4809-BA35-F36601F0BBD6@finn.de> References: <4BCC1CD0.6070201@gmx.at> <4BCD5107.50905@gmx.at> To: rack-devel@googlegroups.com X-Pgp-Agent: GPGMail 1.2.3 X-Mailer: Apple Mail (2.1077) X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.218.216 is neither permitted nor denied by best guess record for domain of k.haase@finn.de) smtp.mail=k.haase@finn.de X-Original-Sender: k.haase@finn.de 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: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 20, 2010, at 09:00 , Michael Franzl wrote: > Konstantin Haase wrote: >> I don't think there is a middleware or some sort of helper right now. >> You could try something like this: http://gist.github.com/372122 > > Thanks for the hint. So I could write a custom Rack middleware to support that? And I could access this middleware from Rails? Is this more or less easy to do? Sorry, I am a newcomer to Rack, but I am be ready to learn it. I think doing this as a middleware would be possible without violating the rack spec (but abusing it). Dunno how to integrate that in Rails. Konstantin -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQEcBAEBAgAGBQJLzVUVAAoJEM+qkfuqK1IXqtwH/3u7Y4WyeekZAhjDjc6lyONG 1rRd9sbpzimTUHv3QScz8RUxK0/cWXyM6UGH92laiIZXvrnh2Ri8q2TwJ7618rm2 7y6ZCIqay5FKMlUjFbZtQhXWuLrW+VAhDRYWpwssfr9sos9rR+gjiIoL3nqRv3gs bTwqAWCltVzPqwkHAgGJdQqKU9la0m4uVAudR94EArSjmVdpzl3d0p2pDH4iXeNu aQ9sDPcX3WednDLCbhmMlia+Xz8xggSU1n2uXomeqK6GO02wLPVEiaQv7tgMuGUt I8v+KyhSeInx6EESu0G8R/WFGtTlmAmoFbW0+9ZzH/AoPOFZsBrxfdBZaNFxew0= =uKQu -----END PGP SIGNATURE----- -- Subscription settings: http://groups.google.com/group/rack-devel/subscribe?hl=en