Skip to content

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

Parameter Type Description
ByRef sContentType String The contenttype string that will be parsed, after processing this string will contain the MIME type of the contenttype string. For example "application/json".

Syntax

Function ParseContentType ByRef String sContentType Returns tNameValuePair[]

Call Example

Get ParseContentType sContentType to tNameValuePair[]Variable

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' andboundary'.

Return Value

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