MaxBodyBytes was set to exactly the configured max file size, but a multipart request carries extra bytes (boundary, part headers) on top of the file, so a file at the limit could be rejected by Huma before the handler runs. Mirror the +2 MB overhead that Echo's global BodyLimit middleware already allows so a max-sized avatar isn't rejected. |
||
|---|---|---|
| .. | ||
| v1 | ||
| v2 | ||