send_data problem

Hi!
  Following call for sending data does not sets the HTTP Content-Type
header under Rails 2.02:

send_data(csv_string,:filename => @entity.name+".csv", :type => 'text/
csv; charset=UTF-8')

Can anyone help why its happening?

Regards,
Mohsin