Merge pull request #12839 from dux-helektra/develop

`/ping` endpoint support HEAD request method
pull/12840/head
Matthias 3 months ago committed by GitHub
commit 7ec495be67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -71,7 +71,7 @@ router_public = APIRouter()
router = APIRouter()
@router_public.get("/ping", response_model=Ping, tags=["Info"])
@router_public.api_route("/ping", methods=["GET", "HEAD"], response_model=Ping, tags=["Info"])
def ping():
"""simple ping"""
return {"status": "pong"}

Loading…
Cancel
Save