Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Add HTTP HEAD support to health check endpoint #710

@caseyandgina

Description

@caseyandgina

Our infrastructure guys asked if it might be possible for HTTP HEAD support to be added to the health check endpoint, as this would result in less work for the load balancers to have to do as they only care about the status code? Currently using GET is required.

$ curl -I http://d-gp2-dbapromscale-1.imovetv.com:9201/healthz
HTTP/1.1 405 Method Not Allowed
Allow: GET, OPTIONS
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Wed, 28 Jul 2021 19:24:13 GMT
Content-Length: 19

$ curl -s -o /dev/null -w "%{http_code}" http://d-gp2-dbapromscale-1.imovetv.com:9201/healthz
200

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementImprovements to the existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions