Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashspace files Content-Type #2

Open
benouat opened this issue May 14, 2013 · 1 comment
Open

Hashspace files Content-Type #2

benouat opened this issue May 14, 2013 · 1 comment

Comments

@benouat
Copy link
Member

benouat commented May 14, 2013

If we plan to use .hsp filesystem extension to store template files, we should think about a proper named content-type to associate with them.

It would be useful especially for webservers to respond with the proper content-type.

Right now it's just sending back plain application/octet-stream

I suggest text/x-hashspace-template (based on what is used for handlebars...)

@simonarbuckle
Copy link
Collaborator

+1 for me, we could also use the slightly abbreviated version:

text/x-hashspace-tmpl

which is similar to the jQuery template data files:
https://en.wikipedia.org/wiki/Internet_media_type#Prefix_x

From: Benoit Charbonnier [email protected]
To: ariatemplates/hashspace [email protected]
Date: 14/05/2013 16:58
Subject: [hashspace] Hashspace files Content-Type (#2)

If we plan to use .hsp filesystem extension to store template files, we
should think about a proper named content-type to associate with them.
It would be useful especially for webservers to respond with the proper
content-type.
Right now it's just sending back plain application/octet-stream
I suggest text/x-hashspace-template (based on what is used for
handlebars...)
?
Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants