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

Multipart POST missing required boundary parameter #198

Open
thexa4 opened this issue Mar 16, 2021 · 0 comments
Open

Multipart POST missing required boundary parameter #198

thexa4 opened this issue Mar 16, 2021 · 0 comments

Comments

@thexa4
Copy link

thexa4 commented Mar 16, 2021

We encountered an issue where doing a multipart POST resulted in the server not being able to parse the resulting multipart body.

On further examination we figured out that this happened due to the Content-Type that is set automatically when you switch the body type to Multipart form data is missing the boundary parameter. (multipart/form-data instead of multipart/form-data; boundary=------border)

The RFC seems to indicate that this parameter is required when using this Content-Type: https://tools.ietf.org/html/rfc7578#section-8

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