ec_httpsrv_request_content_type_get — Gets the content type and charset from the session request
int **ec_httpsrv_request_content_type_get** ( | sess, | |
| | content_type, | |
| | charset
); | |
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Gets the content type and charset from the session request.
the session to interrogate
returns the content type
returns the charset
0 on success, ENOENT if the content type header was missing from the request, or some other errno value for other error conditions.
The returned strings are valid for the lifetime of the request.