ContentType

ContentType class

Represents a Content-Type header.

The ContentType type exposes the following members:

Constructors

NameDescription
ContentType()Initializes a new instance of the ContentType class.
ContentType(content_type)Initializes a new instance of the ContentType class

Properties

NameDescription
boundaryGets or sets the value of the boundary parameter
included in the Content-Type header.
char_setGets or sets the value of the charset parameter.
media_typeGets or sets the internet media type.
nameGets or sets the value of the name parameter.
parametersGets the dictionary that contains the parameters.

See Also