No, because
a) you're right about XMLHTTP requests not being able to handle this and
b) that information is totally wrong, if any, then it should be
Content-Disposition: attachment, not Content-Type: application/binary
- David
Am 16.03.2006 um 15:18 schrieb Ryan Gahl:
If the server deliver
> If the server delivers that with the http header
>
> Content-Type: application/binary
>
> then you should get the browser behavior you're looking for.
Is that true with the XMLHTTP object? I was under the impression that
it's handling of responses is self contained from the browser (i.e. the
b
Ian Tyndall wrote:
> I'm not sure if this has been discussed before, but is it possible to
> get a file download as a response from Ajax.Request? I know you can
> have response txt or xml, but how would I go about requesting a file
> download? Currently I'm requesting the download like this:
>
Ryan Gahl wrote:
But as you know, this ties up the browser and gives me little control
of
the download.
I'm wondering, what control of the download do you need? The browser and
user should be in control of any file downloads...
The information transmitted in this electronic ma
oh, a download, thought he was referring to an upload. forget my post. :)
On 3/15/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> > But as you know, this ties up the browser and gives me little control
> of
> > the download.
>
>
> I'm wondering, what control of the download do you need? The browser an
> But as you know, this ties up the browser and gives me little control
of
> the download.
I'm wondering, what control of the download do you need? The browser and
user should be in control of any file downloads...
The information transmitted in this electronic mail is intended only for the
pers
m: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ian
> Tyndall
> Sent: Wednesday, March 15, 2006 2:43 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: [Rails-spinoffs] Ajax request for file downloads
>
> I'm not sure if this has been discuss
s.org
Subject: [Rails-spinoffs] Ajax request for file downloads
I'm not sure if this has been discussed before, but is it possible to
get a file download as a response from Ajax.Request? I know you can
have response txt or xml, but how would I go about requesting a file
download?
Currently I
I'm not sure if this has been discussed before, but is it possible to
get a file download as a response from Ajax.Request? I know you can
have response txt or xml, but how would I go about requesting a file
download?
Currently I'm requesting the download like this:
window.location =
'