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

register a contentType for Waterbear #707

Open
dethe opened this issue Mar 26, 2014 · 3 comments
Open

register a contentType for Waterbear #707

dethe opened this issue Mar 26, 2014 · 3 comments
Milestone

Comments

@dethe
Copy link
Member

dethe commented Mar 26, 2014

We need this for proper upload/downloads.

@dethe dethe added this to the Beta + IDE milestone Mar 26, 2014
@dethe dethe self-assigned this Mar 26, 2014
@nikhilNathwani
Copy link
Contributor

I'm not sure I'm following, could you clarify what this means? Are you saying we need a catch-all type for any sort of upload/download?

@dethe
Copy link
Member Author

dethe commented Apr 2, 2014

This is a reminder that Waterbear files should have their own contentType (or content-type) registered with the IETF. When you send files around through email or HTTP, the content-type is is what tells the browser or other client how to process that file. For example a file with a content-type of 'image/jpeg' will be viewed as an image in a browser, but could also be opened with an image editing program when downloaded. Web pages themselves have content-type 'text/html'. Rather than waterbear save files simply being JSON, it would be better to have our own file extension and content-type, even if they remain JSON internally, because you can't simply open any JSON file in Waterbear. So instead of mySaveFile.json with type 'application/json' we could have mySaveFile.tardigrade (or whatever, but .wb has been taken: http://filext.com/file-extension/WB ) of type 'application/waterbear'.

@nikhilNathwani
Copy link
Contributor

Ohh ok got it, thanks Dethe

@dethe dethe removed their assignment Apr 13, 2014
@dethe dethe removed this from the Beta + IDE milestone Apr 25, 2014
@dethe dethe added this to the 1.0 Launch milestone Jul 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants