(sorry I accidently posted this before it was finished the first time)
I want to use Builder (.rxml template) to generate xml but instead of
having it display in the browser I want it to offer a file download.
I am using the following code in my controller:
respond_to do |format|
format.xml { render :layout => false, :content_type =>
"application/octet_stream"}
end
This works as desired in Firefox, but in IE (both 6 and 7), it results
in an error message, "The requetsed site is either unavailable or
cannot be found" after opening the download progress dialog.
Any suggestions on getting this to work in IE?
Thanks,
Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---