summaryrefslogtreecommitdiff
path: root/docs/installation/generic_dependencies.include
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-10-27 21:52:42 -0400
committerMark Felder <feld@feld.me>2024-10-27 21:52:42 -0400
commit7d5ef8173735015c473fbc292a7f4b23d3e504a1 (patch)
treed3df021015cf7e0aa2706494553f1b3fe1be2ca2 /docs/installation/generic_dependencies.include
parent2d591aedaeda3d80e9c1b31c0c83eae954849f36 (diff)
downloadpleroma-7d5ef8173735015c473fbc292a7f4b23d3e504a1.tar.gz
pleroma-7d5ef8173735015c473fbc292a7f4b23d3e504a1.zip
Fix /api/v2/media returning the wrong status code for media processed synchronously
The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks. https://docs.joinmastodon.org/methods/media/#v2
Diffstat (limited to 'docs/installation/generic_dependencies.include')
0 files changed, 0 insertions, 0 deletions