Skip to content

Multipart request parameters have trailing spaces #5

Description

@jonathanwiesel

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions