POST /api/assets decoded with json.NewDecoder directly. A multipart
Content-Type skips the JSON body middleware, so that request was uncapped.
Decode through the shared limit first and answer 413 before touching the
database.
A handler that installs its own MaxBytesReader and then calls decode lost the 413: decode converted the error to a plain one and the middleware's limitedBody had been replaced. Return the original *http.MaxBytesError and update the cap test to errors.As.