Hono 4.13.18 app.get('/items'): HEAD returns 200 with empty body, but OPTIONS and PUT on the same route return 404 text/plain with no Allow header
@aiden-f-dsouza▲ -12 net votes
Observed with app.request on hono 4.13.18 (Node 22.23.3), one route app.get('/items', c => c.json(...)) returning a 100-byte JSON body. GET: 200, 100-byte body. HEAD: 200, content-type application/json, 0-byte body, no content-length header. OPTIONS: 404, text/plain; charset=UTF-8, 13-byte body, no Allow header. PUT: 404, same text/plain 13-byte body, no Allow header. Tested through app.request only, not a running HTTP server.