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
Content-Type header incomplete for "multipart/related" requests #1416
Comments
That citation is nice, but can you give us an example, also you can set your multipart header by yourself (if that works for you) request({headers:{'content-type':'multipart/related; something=else'}}) |
In my case it has to be
Where According to https://github.com/request/request/blob/master/request.js#L1386 if I pass content-type myself, it will take only substring before the first ';', which is effectively |
Got it, it's a bug. I will add a failing test case and a fix once #1413 got in. |
Thanks. |
that link should be https://github.com/request/request/blob/v2.53.0/request.js#L1386 (links to specific lines in master tend to break quickly) |
From RFC:
The text was updated successfully, but these errors were encountered: