-
Notifications
You must be signed in to change notification settings - Fork 74
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 to submit form parameters as "URL encoded" #107
Comments
We're using Our server-side web framework (Rails) unpacks request params into the same format regardless of the |
I'm using Java's JAX-RS (via its implementation RESTEasy) and indeed methods receiving URL-encoded forms looks different from ones receiving multipart forms. In any case, wouldn't it be more in the spririt of the standard to use the content type specified for the form? |
I stumbled upon the same issue. Our backend behaves differently for |
Are there any chances that unpoly uses the form's enctype? Unfortunately I'm not familiar with CoffeeScript, so I fear I'm not able to contribute. |
This is fixed in Unpoly 2, which was released today. |
When adding
up-target="..."
to a form, UnPoly will POST it with content type "multipart/form-data", also ifenctype="application/x-www-form-urlencoded"
is declared on the form.The text was updated successfully, but these errors were encountered: