Top "Multipart" questions

Multipart is content type that allows multiple MIME types to be embedded in a single message.

How to specify to accept multipart/related content type with particular content types for body part in the accept header field

RFC 7231 - HTTP/1.1 Semantics and Content, 5.3 Content Negotiation does not define how to specify to accept a multipart/related content …

http http-headers mime-types multipart http-accept-header
read failed: EBADF (Bad file descriptor) while reading from InputStream Nougat

With the recent changes in android N, I had to upgrade my code to use FileProvider to fetch images/files …

android retrofit2 multipart okhttp3 android-fileprovider
Read multipart/mixed in C# (.NET 4.0)

I get a multipart/mixed (with a JSON object and a file) like this, as response when I call a …

c# multipart
How to upload multiple images in multipart using Alamofire?

I am stuck in uploading multiple images in multipart using Alamofire. Can any one help me? Thanks in advance!! For …

ios swift alamofire multipart alamofireimage
Testing ActionMailer multipart emails(text and html version) with RSpec

I'm currently testing my mailers with RSpec, but I've started setting up multipart emails as described in the Rails Guides …

ruby ruby-on-rails-3 rspec actionmailer multipart
rails mailer with different layouts

I use one layout for all my emails in my Notifier model (20+ emails)... however sometimes I just want to send …

ruby-on-rails layout email actionmailer multipart
Parse a String containing multipart/form-data request body in Java

Problem statement I think the title says it all: I'm looking for the way to parse a String containing the …

java apache http multipart
HttpUrlConnection multipart file upload with progressBar

I want to check progress of uploading file by HttpUrlConnection. How I can do this? I've tried to calculate bytes …

android upload httpurlconnection android-progressbar multipart
How to convert a MultiPartFile (image) to a data URI?

On my site I am uploading an image and need to return the data URI of that image but I …

java multipart data-uri
How to send a multipart request with RestAssured?

I have @Controller with method with signature like this: @PostMapping @ResponseBody public ResponseEntity<Result> uploadFileAndReturnJson(@RequestParam("file") MultipartFile …

java spring multipartform-data multipart rest-assured