Open jcmuller opened 3 days ago
Vite dev server supports ping requests. Not on a path (why would it /s) but instead when passing in the Accept: text/x-vite-ping header.
Accept: text/x-vite-ping
I would much prefer to use the native http probe rather than having to use an exec one and using curl or similar.
http
exec
curl
Allow headers to be passed into the HTTP liveness and readiness probes.
At least anyone who wants to use vite. There will be other cases.
vite
Use an exec probe with curl or similar.
If this seems like a good idea I can submit a patch for it.
Feature Request
Use Case:
Vite dev server supports ping requests. Not on a path (why would it /s) but instead when passing in the
Accept: text/x-vite-ping
header.I would much prefer to use the native
http
probe rather than having to use anexec
one and usingcurl
or similar.Proposed Change:
Allow headers to be passed into the HTTP liveness and readiness probes.
Who Benefits From The Change(s)?
At least anyone who wants to use
vite
. There will be other cases.Alternative Approaches
Use an
exec
probe withcurl
or similar.