6ca709816f
Validate the content-type of the response when fetching an object, according to https://www.w3.org/TR/activitypub/#x3-2-retrieving-objects. content-type headers had to be added to many mocks in order to support this, some of this was done with a regex. While I did go over the resulting files to check I didn't modify anything unrelated, there is a possibility I missed something. Closes pleroma#1948 |
||
---|---|---|
.. | ||
mrf | ||
object_validators | ||
transmogrifier | ||
views | ||
activity_pub_controller_test.exs | ||
activity_pub_test.exs | ||
mrf_test.exs | ||
pipeline_test.exs | ||
publisher_test.exs | ||
relay_test.exs | ||
side_effects_test.exs | ||
transmogrifier_test.exs | ||
utils_test.exs | ||
visibility_test.exs |