happy-server/sources/app
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
..
api.ts fix: properly handle empty bodies for DELETE/GET requests 2025-08-27 00:28:43 -07:00
metrics.ts fix: add metrics 2025-08-19 18:03:03 -07:00
timeout.ts ref: remove transactions 2025-07-26 02:00:25 -07:00
types.ts wip: github integration 2025-08-26 20:08:13 -07:00