Description
I don't have an iPhone or use Primal, so if anyone cares about this, help would be welcome.
Context: Primal can upload and mirror blobs to Haven, but on iOS and Android the thumbnail disappears. It works well with Primal's own Blossom server and blossom.band, so it's likely due to something in Khatru's Blossom response or headers.
Further context: #75 and fiatjaf/khatru#45.
A good first step would be to intercept Primal's request / Haven's response and compare it with what is happening with Primal's Blossom server. Apparently, Primal uses PUT /media
to upload files (as the Primal Blossom server strips geolocation tags from media). This is currently forwarded to PUT /upload
by Khatru. This, CORS, and subtle differences in the response are all potential culprits.