ParseContentType - cWebHttpHandler

Parses the passed content-type header string into the plain MIME type and a set of name value pairs for the other values in the string

Type: Function

Return Data Type: tNameValuePair

Parameters: String ByRef sContentType

ParameterDescription
sContentType (ByRef)The contenttype string that will be parsed, after processing this string will contain the MIME type of the contenttype string. For example "application/json".


Return Value

Set of name value pairs for the other values in the string


Syntax
Function ParseContentType String ByRef sContentType Returns tNameValuePair[]

Call: Get ParseContentType (&sContentType) to tNameValuePairArrayVariable


Description

Parses the passed content-type header string into the plain MIME type and a set of name value pairs for the other values in the string.

Examples of such values are `charset' and `boundary'.