O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Encoding content

To distinguish between the different types of content possible to transport using HTTP, an interoperability layer has been built into the protocol. The encoding of any payload is identified using an Internet Content Type or Media Type. By always including this type of information with the payload, the receiver can always determine if it can decode the payload, and how. Today, Media Types are managed by the Internet Assigned Numbers Authority or IANA.

These Media Types were originally designed for use with email, and are therefore also called Multipurpose Internet Mail Extensions, or MIME types. The format of Media Types is defined by the IETF in RFC 2046: https://tools.ietf.org/html/rfc2046

The basic structure of a Media ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required