MCPcopy Index your code
hub / github.com/python/cpython / is_rpc_path_valid

Method is_rpc_path_valid

Lib/xmlrpc/server.py:459–464  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

457 return r
458
459 def is_rpc_path_valid(self):
460 if self.rpc_paths:
461 return self.path in self.rpc_paths
462 else:
463 # If .rpc_paths is empty, just assume all paths are legal
464 return True
465
466 def do_POST(self):
467 """Handles the HTTP POST request.

Callers 2

do_POSTMethod · 0.95
do_GETMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected