Evan Weaver on 31 Aug 2007 23:26:31 -0000 |
Net::Http is pretty weak. Curb, a binding for libcurl, has not-terrible file uploads. Also, RFuzz should be able to do it. I use a combination of open-uri, RFuzz, and Curb for my form posting needs. Evan On 8/31/07, matthew. hawthorne <mhawthorne@gmail.com> wrote: > On 8/31/07, Mat Schaffer <schapht@gmail.com> wrote: > > I was just disgusted by this: > > > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/113774 > > > > Which caused me to write this: > > > > http://tumblr.matschaffer.com/post/10293502 > > That is quite ugly -- I had a similar feeling when I learned that > Net::SMTP expected me to provide raw email messages as one big giant > string. But it's not so bad once you throw a method around it... I > guess. > > > > And consider becoming a python developer. > > You say that like it's a bad thing... > > > > Is there really no graceful way to use Net::HTTP to make file > > uploads? Should I be bugging the facets people to include http in > > their UploadUtils class? Or maybe we just need a new 'phacets' gem? :-D > > I also tried looking into the ruby amazon s3 client (aws-s3) source > code to see how they do uploads, but I got lost. > > Not sure if http://code.whytheluckystiff.net/parkplace/ includes any > client code -- if so, that could be interesting. > > I could be missing something -- my Ruby skills are admittedly weak. > > later, > matt > _______________________________________________ > To unsubscribe or change your settings, visit: > http://lists.phillyonrails.org/mailman/listinfo/talk > -- Evan Weaver Cloudburst, LLC _______________________________________________ To unsubscribe or change your settings, visit: http://lists.phillyonrails.org/mailman/listinfo/talk
|
|