code: def content_type(self):
          
          value = 0
          for option in self.options:
              if option.number == defines.OptionRegistry.CONTENT_TYPE.number:
                  value = int(option.value)
          return value
docs: Get the Content-Type option of a response.
  
          :return: the Content-Type value or 0 if not specified by the response