|
[BUG] send_file header strangeness: msg#00250lang.ruby.rails.core
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> |
|---|---|---|
| Previous by Date: | Re: [BUG] Useless deprecation warning in ActiveRecord::Calculations, Piers Cawley |
|---|---|
| Next by Date: | Feature request: Alternative extension for .rhtml files, Hendy Irawan |
| Previous by Thread: | [BUG] Useless deprecation warning in ActiveRecord::Calculations, Piers Cawley |
| Next by Thread: | Feature request: Alternative extension for .rhtml files, Hendy Irawan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |