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

Incorect filename in Content-Disposition using bytesPart #68

Open
danhandrea opened this issue Nov 26, 2019 · 0 comments
Open

Incorect filename in Content-Disposition using bytesPart #68

danhandrea opened this issue Nov 26, 2019 · 0 comments

Comments

@danhandrea
Copy link

Using bytesPart in a multipartBody will always set the filename in Content-Disposition to "blob" even though bytesPart used with correct parameters.

Http.bytesPart "picture_name.jpg" "image/png" bytes

will become Content-Disposition: form-data; name="picture_name.jpg"; filename="blob"

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