As of v2.1 responses include a Ping-Body-Limit header indicating how large the log payload can be. We could cache this value somewhere like /tmp/.healthchecks-<base_url_slug>.Ping-Body-Limit to be used in subsequent invocations.
Also, the existing hard-coded value doesn't support other installs with different limits, so a --body_limit flag should be added so callers can proactively specify the limit they'd like to use.
As of v2.1 responses include a Ping-Body-Limit header indicating how large the log payload can be. We could cache this value somewhere like
/tmp/.healthchecks-<base_url_slug>.Ping-Body-Limitto be used in subsequent invocations.Also, the existing hard-coded value doesn't support other installs with different limits, so a
--body_limitflag should be added so callers can proactively specify the limit they'd like to use.