Request body size limit int middleware #110

Open
opened 2026-10-17 09:18:12 +00:00 by theis · 0 comments
Owner

Currently this is in skein handler:
// Bound decoding as well as the number of selected IDs.
c.Request.Body = http.MaxBytesReader(c.Writer, c.Request.Body, 64<<10)

I believe a shared way to handle this for all requests in middle ware would be better.

Currently this is in skein handler: // Bound decoding as well as the number of selected IDs. c.Request.Body = http.MaxBytesReader(c.Writer, c.Request.Body, 64<<10) I believe a shared way to handle this for all requests in middle ware would be better.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
theis/yarnman#110
No description provided.