donotturnoff

type

Description

The type header is used to indicate the MIME type of the attached body. This should be used for any request or response that contains a body.

Syntax

In the following grammar, type should be a valid general MIME type and subtype should be a MIME subtype.

header ::= "type=" type "/" subtype

Example

type=text/sdml

Support

As request header

Request bodies aren't currently a part of the SDTP sepcification, they are only present for potential future expansion.

As response header

Program Support Notes
SDTPBrowser Yes This header is used to determine how to handle the response body.
SDTPServer Yes This header is guessed using Java's Files.probeContentType(Path path) method. SDML and SDSS files are detected based on file extension.