Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: http request lost data when a lot of data is submitted from a form #14272
I have a template with multiple drop down lists in a form:
The problem is, when I have 9 drop down lists, r.Form is
But when I have 10 or more drop down lists, r.Form becomes
p.s. This happens with Go 1.5.3
changed the title
http request lost data when a lot of data is submitted from a form
Feb 9, 2016
Thank you for your report. There are several issues here, the first is the repeated values in the 9 value case and the missing value in the 10 value case.
Can you please provide a small runnable sample with a http handler and template that demonstrate this problem so we can investigate.
Here is the link:
Please copy and run on local machine with port 8080. It will print out r.Form after the button is clicked.
The above code has 2 drop down lists in the template, please copy and paste to more then 10 of them and you will see r.Form is empty.
Please check the error from your template executions. This is probably the
On Tue, 9 Feb 2016, 17:07 kyle11rd email@example.com wrote:
And the parse
On Tue, 9 Feb 2016, 17:10 Dave Cheney firstname.lastname@example.org wrote: