akkoma/lib/pleroma/web/rich_media
rinpatch f70335002d RichMedia: Do a HEAD request to check content type/length
This shouldn't be too expensive, since the connections are pooled,
but it should save us some bandwidth since we won't fetch non-html
files and files that are too large for us to process (especially
since you can't cancel a request without closing the connection
with HTTP1).
2020-09-14 14:45:58 +03:00
..
parsers don't fail on url fetch 2020-09-01 19:39:07 +03:00
helpers.ex RichMedia: Do a HEAD request to check content type/length 2020-09-14 14:45:58 +03:00
parser.ex RichMedia parser: do not set a cache TTL for unchanging errors 2020-09-14 14:44:25 +03:00