code: function validateResponseType (type) {
    if (validTypes.indexOf(type) < 0)
      return option.some(`Response content type ${type} is not supported`)
    return option.none
  }
docs: Validates response type
  @param {string} type - response type
  @return {String} error