do not restrict type of mediaType (closes #295)