Files
pixa/internal/middleware
clawbot c1c28204a1
check / check (push) Failing after 2s
Keep only a short, plain request ID; make others up at random
pixa's own RequestID middleware replaces chi's and the response-header
middleware. It keeps a request's own X-Request-Id only when it is at
most 64 letters, digits, '-', '_' or '.', so an over-long or odd value
is never sent back or upstream, and otherwise makes a random ID with
crypto/rand, which tells nothing about the host or how many requests
pixa served. It stores the ID under chi's RequestIDKey, where the
logging middleware, the handlers and the fetcher read it.

Model: opus-5-5
2026-10-04 09:44:47 +00:00
..