Skip to content

fix: Update health.py#34

Merged
dewitt4 merged 1 commit into
mainfrom
fix/health-probe
Jun 24, 2026
Merged

fix: Update health.py#34
dewitt4 merged 1 commit into
mainfrom
fix/health-probe

Conversation

@dewitt4

@dewitt4 dewitt4 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Accept HEAD as well as GET: the container HEALTHCHECK (wget --spider) and App # Service's warmup probe issue HEAD requests. A GET-only route answers HEAD with # 405, which marks the container perpetually unhealthy and App Service kills it. @router.api_route("/health", methods=["GET", "HEAD"])

# Accept HEAD as well as GET: the container HEALTHCHECK (wget --spider) and App
# Service's warmup probe issue HEAD requests. A GET-only route answers HEAD with
# 405, which marks the container perpetually unhealthy and App Service kills it.
@router.api_route("/health", methods=["GET", "HEAD"])
@dewitt4 dewitt4 self-assigned this Jun 24, 2026
@dewitt4 dewitt4 added the bug Something isn't working label Jun 24, 2026
@dewitt4
dewitt4 merged commit e8ede75 into main Jun 24, 2026
4 of 7 checks passed
@dewitt4
dewitt4 deleted the fix/health-probe branch June 24, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant