Skip to content

Specify MIME type for Thing Description #78

Open

Description

@benfrancis

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.

Activity

  1. benfrancis commented on Mar 16, 2018

    @benfrancis
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions