Spaces:
Sleeping
Sleeping
add method HEAD on /health
Browse files86 unmodified lines878889909192939486 unmodified lines"user_dataset": "/user_dataset/{user_id}"}}@app.get("/health", methods=["GET", "HEAD"])def health():try:# ๊ฐ๋จํ health ์ฒดํฌ - DB ์ฐ๊ฒฐ ์์ด ์๋ฒ ์ํ๋ง ํ์ธ86 unmodified lines87888990919293949596979886 unmodified lines"user_dataset": "/user_dataset/{user_id}"}}@app.head("/health")async def health_head():return None # HEAD๋ ๋ฐ๋๊ฐ ํ์ ์์ผ๋ฏ๋ก None ๋ฐํ@app.get("/health")def health():try:# ๊ฐ๋จํ health ์ฒดํฌ - DB ์ฐ๊ฒฐ ์์ด ์๋ฒ ์ํ๋ง ํ์ธ
app.py+5-1