net/http: make Request.Form.Get call ParseForm automatically #24338
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
req.ParseForm()
is needed to be called before accessing the form parameters usingparam := req.Form.Get("param-name")
where req is a http.RequestIs there a reason behind this?
I would like to add a feature to ParseForm automatically from Form.Get() on first execution and on next calls, check if Form is already parsed and work as usual.
What are your thoughts?
The text was updated successfully, but these errors were encountered: