Say at the receiver route where its 1 MB body cap lives (closes #173) #429

Merged
clawbot merged 1 commits from issue-173-receiver-body-cap-comment into next 2026-10-02 13:40:01 +02:00
1 Commits
Author SHA1 Message Date
sneak 3c1991d2ae Say at the receiver route where its 1 MB body cap lives (closes #173)
check / check (push) In progress
/h/{uuid} has no MaxBodySize middleware, unlike the page route
groups; its cap is in the handler, which owns the 413 senders get.
A comment at the route registration now says so, and the handler's
read function notes it is the receiver's only body cap.

A new routing test sends a body exactly at the cap and one byte over
it through the production router, and checks the second is refused
with the handler's 413 and message.

Model: opus-5-5
2026-10-02 10:11:22 +00:00