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

Discussion in 'Ruby' started by leoboiko, Aug 6, 2008.

  1. leoboiko

    leoboiko Guest

    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 ;)
     
    leoboiko, Aug 6, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    8
    Views:
    142,555
    zeeshanakhter2009
    May 26, 2012
  2. Matt
    Replies:
    1
    Views:
    11,195
    David Dorward
    Oct 12, 2004
  3. Jeff Shannon
    Replies:
    4
    Views:
    1,036
    Wade Leftwich
    Jul 21, 2004
  4. Bruno Dilly
    Replies:
    0
    Views:
    445
    Bruno Dilly
    Aug 18, 2006
  5. Gabriel Genellina
    Replies:
    0
    Views:
    949
    Gabriel Genellina
    Aug 19, 2006
Loading...

Share This Page