ips/pkg6depotd/src/http/handlers
Till Wegmueller 81f00a0624
Add caching headers, admin routes, and configurable cache max-age support
- Introduced caching headers (`Cache-Control`, `ETag`, `Last-Modified`) for file responses to improve client-side caching.
- Added HTTP admin routes for health check and authentication validation.
- Made `cache_max_age` configurable via server configuration with a default of 3600 seconds.
- Enhanced file handler with metadata-based `Last-Modified` computation.
- Updated integration tests to cover new functionality and ensure correctness.
2025-12-09 20:23:00 +01:00
..
catalog.rs Add content-type handling for JSON catalog artifacts and weak ETag for manifests 2025-12-09 16:02:02 +01:00
file.rs Add caching headers, admin routes, and configurable cache max-age support 2025-12-09 20:23:00 +01:00
info.rs Add version parsing, FMRI formatting, and license content resolution 2025-12-09 16:42:21 +01:00
manifest.rs Add content-type handling for JSON catalog artifacts and weak ETag for manifests 2025-12-09 16:02:02 +01:00
mod.rs Add REST API v1 endpoints and legacy catalog handling for pkg6depotd 2025-12-08 21:36:37 +01:00
publisher.rs Add REST API v1 endpoints and legacy catalog handling for pkg6depotd 2025-12-08 21:36:37 +01:00
versions.rs Remove deprecated Catalog v0 support and refactor legacy catalog handling. 2025-12-08 22:10:11 +01:00