Equivalent of java httpclient

Hi everyone,

I’m trying to post from a controller to another application, with one of
the
post parameters being a multipart file attachment. What do you recommend
for
this process? From what I could gather from doing searches I need to use
something like Net::HTTP or open-uri, but I cannot find how to add
attachments to these. Any suggestions?

Thanks,
Abdullah

I assume there’s a mime library in Ruby, but my knowledge of Ruby
libraries
is a little slim. Since there’s no replies yet, I’d say look for a mime
library and handle encoding your attachments that way. Perhaps someone
else
can point you toward a complete http client library that will do this
for
you.