gitea/modules/web
logikonline 4d1424df80 feat(api): add Phase 1 API enhancements for reliability and tracing
- Add X-Request-ID header middleware for request tracing
  - Extracts from incoming headers or generates short UUID
  - Included in all error responses for debugging

- Add rate limit headers (X-RateLimit-Limit/Remaining/Reset)
  - Currently informational, configurable via API.RateLimitPerHour
  - Prepared for future enforcement

- Add chunk checksum verification for uploads
  - Optional X-Chunk-Checksum header with SHA-256 hash
  - Verifies data integrity during chunked uploads

- Standardize error responses with RFC 7807 Problem Details
  - Added type, title, status, detail, instance fields
  - Maintains backward compatibility with legacy fields

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 11:14:18 -05:00
..
middleware feat(api): add Phase 1 API enhancements for reliability and tracing 2026-01-09 11:14:18 -05:00
routing Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
types Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
handler.go Refactor to use reflect.TypeFor (#35370) 2025-08-27 20:13:31 -07:00
routemock_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
routemock.go Make Golang correctly delete temp files during uploading (#36128) 2025-12-11 19:59:42 +01:00
router_combo.go Refactor arch route handlers (#32993) 2024-12-28 03:31:46 +00:00
router_path.go Refactor some trivial problems (#34959) 2025-07-05 23:19:33 +08:00
router_test.go Refactor some trivial problems (#34959) 2025-07-05 23:19:33 +08:00
router.go Make Golang correctly delete temp files during uploading (#36128) 2025-12-11 19:59:42 +01:00