An #askFedi for people who know #ApacheWebServer . Is there a way to change *just* the mime type a file is sent as?
I'm sending .rss and .atom files as application/{rss,atom}+xml, but dominant browsers arbitrarily decided these should be downloaded instead of opened in place like they do with plain application/xml files.
So I want to change the mime type to application/xml but only if the request has an Accept: header that does not include application/*+xml or similar. How?