```ruby
module Travis::Api::App::Responders
  class Badge < Image
    def format
      'svg'
    end

    def apply
      set_headers
      send_file(filename, type: :svg, last_modified: last_modified)
    end

    def content_type
      "image/svg"
    end

    def filename
      "#{root}/public/images/result/#{result}.svg"
    end
  end
end
```

Return right mime type for SVG.
user
```ruby
module Travis::Api::App::Responders
  class Badge < Image
    def format
      'svg'
    end

    def apply
      set_headers
      send_file(filename, type: :svg, last_modified: last_modified)
    end

    def content_type
      "image/svg+xml"
    end

    def filename
      "#{root}/public/images/result/#{result}.svg"
    end
  end
end
```
assistant