Objections to changing boundary to internal on MultiPartFormDataContent?
See original GitHub issueI’d like to change this to internal so I can consume the boundary like so:
class MultiPartMixedDataContent(
parts: List<PartData>
) : MultiPartFormDataContent {
override val contentType: ContentType = ContentType.MultiPart.Mixed.withParameter("boundary", boundary)
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
HttpClient setting boundary with content-type - Stack Overflow
Once we made this change it all worked correctly. ... ContentType = "multipart/form-data; boundary=" + boundary; request.Headers.
Read more >Multipart Form Post in C# - Brian Grinstead
I recently had to access a web API through C Sharp that required a file upload. This is pretty easy if you have...
Read more >Making requests | Ktor
In this case, a boundary will be generated automatically. Call the post function and pass the MultiPartFormDataContent instance to the setBody ...
Read more >Troubleshooting a Failing DataWeave Script
A common inference error occurs with multipart data, which has a very specific structure. Consider a multipart payload and the expression dw::core::Objects:: ...
Read more >Web on Reactive Stack - Spring
... are built around reacting to change — network components reacting to I/O events, ... adapts it to a Reactor type internally, uses...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s OK
Hi @jschneidereit, thanks for the report. It’s the valid use case and we’re absolutely OK to change that. I think it should be
protected
to fit your case.It would be nice if you make the PR 😃