dropcaster icon indicating copy to clipboard operation
dropcaster copied to clipboard

Multipart Output

Open nerab opened this issue 13 years ago • 2 comments

Instead of generating the files directly, we could write a single response on STDOUT that is actually formatted as Multipart MIME Message. Standard system tools like UUDeview could be used to split this into multiple files.

See also this code:

  • http://stanislavvitvitskiy.blogspot.de/2008/12/multipart-post-in-ruby.html
  • https://github.com/toamitkumar/ruby-multipart-post

nerab avatar Mar 25 '12 17:03 nerab

Creating a shell archive (shar) may be an alternative.

nerab avatar Mar 25 '12 20:03 nerab

mhtml, created using the mail gem, may be another useful format.

At least Google Chrome seems to support it well. But I could not get it to be displayed when served via HTTP (even passing the appropriate HTTP response headers), only with local files.

nerab avatar Nov 01 '16 21:11 nerab