Description
This function lists all of Apache's MIME types.
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 The MIME types to list. |
|
user |
Returns
Return |
Type |
Description |
Possible values |
Example |
extension |
string |
The file extension. |
A valid file extension. |
.foo |
type |
string |
The MIME type. |
A valid string. |
application/foo |
origin |
string |
The handler's owner. |
|
user |