1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/lib/activitypub
ThibG a1412491b7
Change content-type to be always computed from file data (#14452)
* 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
2020-08-02 11:21:10 +02:00
..
activity Change content-type to be always computed from file data (#14452) 2020-08-02 11:21:10 +02:00
adapter_spec.rb Remove unused ActivityPub @context values depending on response (#10378) 2019-03-27 15:55:23 +01:00
linked_data_signature_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
tag_manager_spec.rb Remove Atom feeds and old URLs in the form of GET /:username/updates/:id (#11247) 2019-07-07 16:16:51 +02:00