Request.getContentType

Gets the type of the data represented by @request. For most request types, this will not be known until after you call soup_request_send() or soup_request_send_finish().

As in the HTTP Content-Type header, this may include parameters after the MIME type.

class Request
string
getContentType
()

Return Value

Type: string

the type of the data represented by @request, or %NULL if not known.

Meta

Since

2.42