#known 2018-06-11

2018-06-11 UTC
[grantcodes], tantek, [cjwillcock], chrisaldrich, tantek__, [xavierroy], [pfefferle], [mrkrndvs], jeremych_, sketchess, [stefp] and [eddie] joined the channel
#
jeremycherfas
The developer of Sunlit, an iOS photo sharing app that is closely tied to Micro.blog, just tole me that images in a Known site have a MIME type of application/data. I'm sure there are reasons for this, but it does, apparently, sometimes make cross-site sharing more difficult. Is there anything simple worth doing about it?
[schmarty], tantek and [kevinmarks] joined the channel
#
[kevinmarks]
Do they not have correct extensions?
#
jeremycherfas
No. No extensions that I can see.
#
jeremycherfas
e.g. "<p><img style="display: block; margin-left: auto; margin-right: auto;" src="https://stream.jeremycherfas.net/file/16f01440634485e7089ee6581ac810e8" alt=""></p>"
#
jeremycherfas
Which downloads the image if you just open that link in Safari or Chrome, but renders it if you visit the page.
[keithjgrant] joined the channel
#
[kevinmarks]
Ah, then you will need extra apache or nginx config to serve as the right type
#
[kevinmarks]
Browsers will sniff, but it is confusing for parsers
#
[kevinmarks]
Most web servers will derive mime type from extension
#
jeremycherfas
Erk. That will take some digging. Ah well.
[grantcodes], [cleverdevil], raretrack, tantek, [deeden] and tantek__ joined the channel