@property
    def accept(self):
        for option in self.options:
            if option.number == defines.OptionRegistry.ACCEPT.number:
                return option.value
        return None
Get the Accept option of a request.
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/messages/request.py/Request.accept