code: def mk_request(self, method, path):
          
          request = Request()
          request.destination = self.server
          request.code = method.number
          request.uri_path = path
          return request
docs: Create a request.
  
          :param method: the CoAP method
          :param path: the path of the request
          :return:  the request