On Sun, 21 Feb 2010 04:17:51 -0800 (PST) Ming <[email protected]> wrote:
> I'm trying to set headers following the second example in this > tutorial http://merbunity.com/tutorials/2: > > headers['Content-Disposition'] = "attachment; filename = > #{get_the_file_name}" > headers['Content-Type'] ="#{get_the_file_content_type}" > > headers > > all to no avail. > This is odd. I just tried, and "headers[]" worked for me. Could you tell me which version of merb/ruby you're using? Regards Jon -- You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/merb?hl=en.
