fix: HEAD requests fetch and stream the full body #70

Closed
opened 2026-07-02 00:20:16 +10:00 by unkinben · 0 comments
Owner

Docker HEAD routes map to handleProxy (internal/api/v1/proxy.go), which runs a full Fetch + io.Copy. HEAD manifest/blob existence checks are common; they should resolve metadata without fetching/streaming the whole artifact.

Docker `HEAD` routes map to `handleProxy` (`internal/api/v1/proxy.go`), which runs a full `Fetch` + `io.Copy`. HEAD manifest/blob existence checks are common; they should resolve metadata without fetching/streaming the whole artifact.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#70