happy-server/sources
Steve Korshakov 0f222cfd98 fix: properly handle empty bodies for DELETE/GET requests
Improve content type parser to handle HTTP methods correctly:
- DELETE and GET requests with empty bodies return undefined (no parsing)
- Other HTTP methods with empty bodies return empty object
- Add method and URL to error logging for better debugging
- Prevents JSON parsing errors on legitimate empty DELETE requests

Fixes the GitHub disconnect endpoint which uses DELETE without body.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-27 00:28:43 -07:00
..
app fix: properly handle empty bodies for DELETE/GET requests 2025-08-27 00:28:43 -07:00
modules feat: resolve public url for avatar 2025-08-26 22:39:28 -07:00
services ref: remove updates 2025-07-26 02:24:05 -07:00
storage fix: fix upload path 2025-08-26 23:03:43 -07:00
utils feat: handle avatar, first name and last name 2025-08-26 22:17:11 -07:00
main.ts wip: add files, fix tweetnacl in esm 2025-08-26 21:46:55 -07:00
types.ts feat: handle avatar, first name and last name 2025-08-26 22:17:11 -07:00