Thought I could just add "Add Type application/json json" to .htaccess and be done with it but when I curl my json feed I see it is still "Content-Type: text/plain" so I'm wondering how to get Apache to serve json files as "Content-Type: application/json".
Try this out: (fixed to include the .json extension)
Code: Select all
AddType application/json .json