_API_RES_SET_CONTENT_TYPE($mime)
The most common statuses are defined as constants, see more at #Region Mimes (Content types)
_API_RES_SET_STATUS