http/body_limit_schema.ts view source
{ readonly name: "body_limit"; readonly path: "*"; readonly errors: readonly [RestErrorDef<413, "payload_too_large", Record<never, never>>, RestErrorDef<400, "invalid_content_length", Record<...>>]; } import {body_limit_middleware_shape} from '@fuzdev/fuz_app/http/body_limit_schema.js'; The body limit's middleware spec minus its handler: at '*', ahead of the
other middleware, answering 413 payload_too_large past the cap and
400 invalid_content_length to a Content-Length it cannot read.
create_body_limit_middleware_spec (http/body_limit.ts) spreads it and
attaches the live handler.