def base_path(self):
    path = self.request.path
    base_path = path[:path.rfind("/")]
    if not base_path.endswith("/command"):
      raise BadRequestPathError(
          "Json handlers should have /command path prefix")
    return base_path[:base_path.rfind("/")]
get_payload should raise IgnoreDocument given a registration form
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/base_handler.py/JsonHandler.base_path--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/dhis2/tests.py/PayloadGeneratorTest.test_get_payload_ignores_registration