Skip to content

Multipart request parameters have trailing spaces #5

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

Open
jonathanwiesel opened this issue Jun 30, 2017 · 1 comment
Open

Multipart request parameters have trailing spaces #5

jonathanwiesel opened this issue Jun 30, 2017 · 1 comment

Comments

@jonathanwiesel
Copy link

jonathanwiesel commented Jun 30, 2017

Just tried posting a multipart request against a testing endpoint (requestb.in) and noticed that many values and parameters have a trailing whitespace, my first guess could be that it could be something related to the addPadding method but not entirely sure.

For my point of understanding, the addPadding does ensure that the resulting value is correctly encoded, but to ensure that it starts adding whitespaces, is there a workaround to avoid sending values with trailing whitespaces to the receiving service?

@mwoodcertinia
Copy link

For the moment, we've marked this as an enhancement.
Does this cause you any specific issues? If so, can you give us an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants