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

Specify MIME type for Thing Description #78

Open
benfrancis opened this issue Mar 16, 2018 · 1 comment
Open

Specify MIME type for Thing Description #78

benfrancis opened this issue Mar 16, 2018 · 1 comment

Comments

@benfrancis
Copy link
Member

It's necessary to specify a MIME type for a Thing Description to denote that it is not just JSON but is a Web Thing Description with an implied default context.

I suggest using application/td+json as per the latest W3C proposal on the assumption that we will converge on that format.

@benfrancis
Copy link
Member Author

Question: Should the MIME type for the REST API payloads be the same or different to the MIME type of the Thing Description?

I wonder if they may be two separate data types.

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

1 participant