@uri_path.setter
    def uri_path(self, path):
        path = path.strip("/")
        tmp = path.split("?")
        path = tmp[0]
        paths = path.split("/")
        for p in paths:
            option = Option()
            option.number = defines.OptionRegistry.URI_PATH.number
            option.value = p
            self.add_option(option)
        if len(tmp) > 1:
            query = tmp[1]
            self.uri_query = query
Set the Uri-Path of a request.
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/messages/request.py/Request.uri_path