av-test: retain internal receipt-service readiness

This commit is contained in:
jenkins 2026-10-22 21:50:19 -05:00
parent 9204773e7d
commit 248d1537a5

View File

@ -29,10 +29,16 @@ class Handler(BaseHTTPRequestHandler):
self.wfile.write(body)
def do_GET(self):
# Internal pod readiness only: nginx's public ingress does not expose
# this path, and it never reads or returns receipt/capability state.
if self.path == "/healthz":
return self.reply(204)
self.reply(405)
do_HEAD = do_GET
do_OPTIONS = do_GET
def do_OPTIONS(self):
self.reply(405)
def do_POST(self):
try: