logo       

[BUG] send_file header strangeness: msg#00250

lang.ruby.rails.core

Subject: [BUG] send_file header strangeness


When I serve up a gif file using send_file('file.gif', :type =>
'image/gif'), for some reason I get

Content-Type: image/gif; charset=utf-8

in my headers. Maybe I'm missing something, but this doesn't look like
entirely correct behaviour.

--
Piers Cawley <pdcawley@xxxxxxxxxxx>
http://www.bofh.org.uk/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
rubyonrails-core-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise