Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Get the content-type of the downloaded object.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes
MBS( "CURL.GetContentType"; curl )   More


Parameter Description Example value
curl The CURL session handle. $curl


Returns the requested value or nothing on error.


Get the content-type of the downloaded object.
This is the value read from the Content-Type: field. If you get an empty string, it means that the server didn't send a valid Content-Type header or that the protocol used doesn't support this.

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

CURL.GetContentLengthUpload   -   CURL.GetCookieList

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins