FreeHostia Forums
https://forum.freehostia.com/

Content-Type Header
https://forum.freehostia.com/viewtopic.php?f=4&t=64966
Page 1 of 1

Author:  andkat19 [ Fri Oct 25, 2013 12:19 am ]
Post subject:  Content-Type Header

How do I get freehostia to serve with the HTTP header "Content-Type: application/x-web-app-manifest+json" for .webapp file?

https://developer.mozilla.org/en-US/Apps/Developing/Manifest?redirectlocale=en-US&redirectslug=Web%2FApps%2FManifest#Serving_manifests

My .htaccess file:
Code:
#default index page
DirectoryIndex index.html

#additional MIME types
AddType application/x-web-app-manifest+json .webapp


I think this worked. So is this the proper way to do this?

Author:  widwool [ Sat Oct 26, 2013 4:34 am ]
Post subject:  Re: Content-Type Header

andkat19 wrote:
How do I get freehostia to serve with the HTTP header "Content-Type: application/x-web-app-manifest+json" for .webapp file?

https://developer.mozilla.org/en-US/Apps/Developing/Manifest?redirectlocale=en-US&redirectslug=Web%2FApps%2FManifest#Serving_manifests

My .htaccess file:
Code:
#default index page
DirectoryIndex index.html

#additional MIME types
AddType application/x-web-app-manifest+json .webapp


I think this worked. So is this the proper way to do this?


Hello,

Please open a trouble ticket regarding this matter via Control Panel Open New Ticket menu which is situated under the Help section. Then we will be able to assist you further.

Thank you for the assistance!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/