How about:

```ruby
if options[:body]
  self.headers.delete "Content-Type"
elsif options[:plain]
  self.content_type = Mime::TEXT
else
  self.content_type ||= format.to_s
end