Merge branch 'feat/rich-media-head' into 'develop'
authorrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 12:38:00 +0000 (12:38 +0000)
committerrinpatch <rinpatch@sdf.org>
Thu, 17 Sep 2020 16:04:50 +0000 (19:04 +0300)
commitdee4639dbb1245d4514b7b81d567321f9b4ee099
tree9c60084c7ca9466510338541ffb4cc78dfc4e69e
parent425324aae3d4534bc045466a1cc15653ddfa27d2
Merge branch 'feat/rich-media-head' into 'develop'

RichMedia: Do a HEAD request to check content type/length

See merge request pleroma/pleroma!2995
lib/pleroma/web/rich_media/helpers.ex
lib/pleroma/web/rich_media/parser.ex
test/support/http_request_mock.ex
test/web/rich_media/parser_test.exs