HTML-like multipart/form-data POST file upload for Net::HTTP(rfc1867)

L

leoboiko

Hi people. I think this has been solved a hundred times in lots of
different places, but never working together with Net::HTTP, and never
as a separate general library (if I’m wrong —sorry, library authors, I
didn’t find yours!). So I created “multipart”: a ruby gem that
extends Net::HTTP::post with a method to format file upload parameters
as multipart/form-data, per rfc1867. It supports multiple file
parameters per request, and also multiple files per parameter
(multipart/mixed). All you gotta do is gem install multipart and read
the rdocs.

It’s in beta and by that I mean UNTESTED. Before doing anything
serious, help me debug it ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top