getContentType() public method
Returns request content-type The Content-Type header field indicates the MIME type of the data contained in getRawBody() or, in the case of the HEAD method, the media type that would have been sent had the request been a GET.
For the MIME-types the user expects in response, see $acceptableContentTypes.
public string getContentType ( ) | ||
---|---|---|
return | string |
Request content-type. Null is returned if this information is not available. |
Please login to continue.