Also "fixed" this weird thing where proxied images would return a 404 but still show fine. Turns out it had to do with URL-encoded _original URLs_ (at the end of a URL path). Either the browser or server would see (or send) a 404 and then decode these URLs and retry and get a proper response, but the status code would be 404 nonetheless, even when I literally returned `header('HTTP/1.1 200 OK'); exit;`. No URL forwarding or anything going on either.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!