{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifybfkadtkof4lm3w44hl3xoo6qn2m4fbohykj5hj2li56fs2vtpu",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mhvgkfs3pyq2"
},
"path": "/t/my-hugging-face-space-keep-starting/174616#post_6",
"publishedAt": "2026-03-25T15:29:11.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"@app.head"
],
"textContent": "Uh, I didn’t do anything and it suddenly worked. The only thing I did worth mentioning is:\nOriginally, I ran this in the local command line:\n\n\n curl -Ik https://sakizuki-danboorusearch.hf.space/\n\n\nThe system returned:\n\n\n HTTP/1.1 405 Method Not Allowed\n\n\nSo, I added this to the code:\n\n\n @app.head('/')\n async def head_root():\n return PlainTextResponse(\"\")\n\n\nRunning this command again, the system returned:\n\n\n HTTP/1.1 200 OK\n\n\nI don’t know if it’s because my modification was effective, or if it was just normal HF Space network fluctuation.",
"title": "My Hugging Face Space keep starting"
}