Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion middleware/parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ func (p *untypedParamBinder) Bind(request *http.Request, routeParams RouteParams
}

// Parse via the shared helper. The helper routes on Content-Type
// (multipart/form-data → ParseMultipartForm, otherwise → ParseForm)
// (multipart/form-data → ParseMultipartForm; all non-multipart types,
// including application/x-www-form-urlencoded, → ParseForm)
// and applies the default 32 MiB body cap via http.MaxBytesReader.
// Idempotent across the per-parameter loop: stdlib short-circuits
// when r.MultipartForm / r.PostForm are already populated.
Expand Down
Loading