av-test: retain internal receipt-service readiness
This commit is contained in:
parent
9204773e7d
commit
248d1537a5
@ -29,10 +29,16 @@ class Handler(BaseHTTPRequestHandler):
|
|||||||
self.wfile.write(body)
|
self.wfile.write(body)
|
||||||
|
|
||||||
def do_GET(self):
|
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)
|
self.reply(405)
|
||||||
|
|
||||||
do_HEAD = do_GET
|
do_HEAD = do_GET
|
||||||
do_OPTIONS = do_GET
|
|
||||||
|
def do_OPTIONS(self):
|
||||||
|
self.reply(405)
|
||||||
|
|
||||||
def do_POST(self):
|
def do_POST(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user