Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow form-urlencoded POST/PUT data with a size over 10MB #48

Open
jerbob92 opened this issue Dec 18, 2015 · 0 comments
Open

Allow form-urlencoded POST/PUT data with a size over 10MB #48

jerbob92 opened this issue Dec 18, 2015 · 0 comments

Comments

@jerbob92
Copy link

Currently the POST/PUT size is limited by the parseForm function in the http package (see https://golang.org/src/net/http/request.go#L834). However, the mulitform parser has a configurable limit (with MaxMemory), so why not apply this to the form-urlencoded requests too?

I'd really like to configure my own limit (we use Mandrill incoming webhooks, and sometimes the incoming data is larger than 10MB, Mandrill only supports application/x-www-form-urlencoded.

This possible resutlts in some code copy/pasting from the http package.

@jerbob92 jerbob92 changed the title Allow form-urlencoded over 10MB Allow form-urlencoded POST/PUT data with a size over 10MB Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant