code: def content_type(self, content_type):
          
          option = Option()
          option.number = defines.OptionRegistry.CONTENT_TYPE.number
          option.value = int(content_type)
          self.add_option(option)
docs: Set the Content-Type option of a response.
  
          :type content_type: int
          :param content_type: the Content-Type