From: Konstantin Haase <k.haase@finn.de>
To: rack-devel@googlegroups.com
Subject: Re: multipart response possible with Rack?
Date: Tue, 20 Apr 2010 08:34:18 +0200 [thread overview]
Message-ID: <ED2BDBC1-8864-45BD-AD13-EE2D3AFCBE4D@finn.de> (raw)
In-Reply-To: <4BCC1CD0.6070201@gmx.at>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 19, 2010, at 11:05 , Michael Franzl wrote:
> I would like to generate a multipart HTTP response to a conventional GET request. For the end user, this will display a web page and download a file simultaneously. The response should look like the example below.
>
> Can I do this with Rack?
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
By the way: Do browsers support that?
Konstantin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iQEcBAEBAgAGBQJLzUrtAAoJEM+qkfuqK1IX+4MIALgNm9stV0lLVXCMNekcGiaW
v4ahVMIWwP4o6ugVzeFATd5Qj4+UyZPZ+QyLDGGxFL9+GZ403+/GC18963rxcBY6
D+r76/Nu6024yXE/ydLQzOypLs2tVE1aIFNfTJ7CRxLl9jxHlIxYeHYhSUdGLELj
hqyFPTfsErADvVey2+boYuRH9v+zUSGSSBrUSqS+xx84p0zP53gTojibmOtrEP6o
dTUnP9VAOuBLxjGS0jLwfkvE0HjxbCIq/+JFT4lsnlWY13T/O4dp6ZHn97ZbzyP/
ADTMVtxI9olJ/3JftB5ySdeu8soa0NRpEW0+SsqXUw8yWJoq2n07eXshiq0GjrM=
=N6G4
-----END PGP SIGNATURE-----
--
Subscription settings: http://groups.google.com/group/rack-devel/subscribe?hl=en
next prev parent reply other threads:[~2010-04-20 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 9:05 multipart response possible with Rack? Michael Franzl
2010-04-20 6:34 ` Konstantin Haase [this message]
2010-04-20 7:00 ` Michael Franzl
2010-04-20 7:17 ` Konstantin Haase
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ED2BDBC1-8864-45BD-AD13-EE2D3AFCBE4D@finn.de \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).