Take the signature, the expiry and the URL scheme off the image request (closes #314) #331

Merged
clawbot merged 1 commits from issue-314-request-names-the-object into next 2026-10-26 13:49:13 +01:00
1 Commits
Author SHA1 Message Date
sneak 2670d9002f Take the signature, the expiry and the URL scheme off the image request (closes #314)
check / check (push) Waiting to run
The image request now holds only its source and its transform, exactly what
the variant key covers. The /v1/image/ handler checks the allowlist and
verifies the signature itself with Signer.Verify(req, sig, expires). Both
image handlers keep the URL's expiry as a local value for Cache-Control. The
image service holds no signer, allowlist or AllowHTTP, and ValidateRequest is
gone. The fetcher takes the source and builds its URL with Source.URL from its
own AllowHTTP, so no URL string is built and parsed again. chooseAutoFormat
returns the format it chooses instead of writing into the request. The signed
URL format and every route's answers are unchanged.

Model: opus-5-5
2026-10-26 12:34:19 +00:00