forked from fedi/mastodon
a1412491b7
* Change content-type to be always computed from file data Restore previous behavior, detecting the content-type isn't very expensive, and some instances may serve files as application/octet-stream regardless of their true type, making fetching media from them fail, while it used to work pre-3.2.0. * Add test |
||
---|---|---|
.. | ||
attachment_extensions.rb | ||
blurhash_transcoder.rb | ||
color_extractor.rb | ||
gif_transcoder.rb | ||
image_extractor.rb | ||
lazy_thumbnail.rb | ||
media_type_spoof_detector_extensions.rb | ||
response_with_limit_adapter.rb | ||
transcoder_extensions.rb | ||
type_corrector.rb | ||
url_generator_extensions.rb | ||
video_transcoder.rb |