Description
This function lists all of Apache's MIME handlers.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
type |
string |
Required Whether to retrieve system or user handlers. |
|
user |
Returns
Return |
Type |
Description |
Possible values |
Example |
origin |
string |
The handler's owner. |
|
user |
handler |
string |
The handler's name. |
A valid string. |
text-foo |
extension |
string |
The handler's extension. |
A valid file extension. |
.foo |