(self)
| 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. |