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. Advertisements

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. LD

    multipart/form-data Post

    LD, Aug 27, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    16,255
    navyjax2
    Sep 23, 2008
  2. Matt
    Replies:
    8
    Views:
    156,043
    zeeshanakhter2009
    May 26, 2012
  3. Replies:
    3
    Views:
    9,030
    Ross Bamford
    Nov 5, 2005
  4. Matt
    Replies:
    1
    Views:
    11,707
    David Dorward
    Oct 12, 2004
  5. Jeff Shannon
    Replies:
    4
    Views:
    1,224
    Wade Leftwich
    Jul 21, 2004
  6. Bruno Dilly
    Replies:
    0
    Views:
    580
    Bruno Dilly
    Aug 18, 2006
  7. Replies:
    1
    Views:
    2,134
    Alexey Smirnov
    Apr 21, 2008
  8. Kevin DeValck
    Replies:
    1
    Views:
    1,076
    7stud --
    May 17, 2011
Loading...