class documentation

class Content:

View In Hierarchy

A container for a map of headers and a byte array of data.

It is used by the SDK's Serializer interface implementations.

Class Variable data Request or response data.
Class Variable headers Header that should include information on how to deserialize this content. Headers constructed by the framework always have lower case keys. User provided keys are treated case-insensitively.
data: bytes =

Request or response data.

headers: Mapping[str, str] =

Header that should include information on how to deserialize this content. Headers constructed by the framework always have lower case keys. User provided keys are treated case-insensitively.