[This is preliminary documentation and is subject to change.]

Gets the Content-Type header entry.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static string GetContentType(

this IRequest request

)

VB

Public Shared Function GetContentType( _

request As IRequest _

) As String

C++

public:

static String^ GetContentType(

IRequest^ request

)

Parameters

Return Value

Type: System.StringSystem.StringSystem::String
The Content-Type header value, or a wildcard if not in the Headers collection.

See Also

RequestExtensionsRequestExtensionsRequestExtensions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace