It looks like HTTParty uses Net::HTTP so I'll just stick with that.

I got burned by so many deprecated gems moving from Rails 2 to Rails 3
that use them sparingly now.  :-\

On Jan 4, 10:53 am, Marnen Laibow-Koser <[email protected]> wrote:
> TonyPrimeranowrote in post #972234:
>
>
>
> > In the past I have used Net::HTTPto call trivial remote services.
> > These calls have been low frequency so didn't bother looking into
> > alternatives.
>
> > I'm now looking at a design where I will be calling a remote service
> > that returns a simple CSV but it will be called frequently and if that
> > service goes down I need to degrade gracefully.   I'd like to punt if
> > the web service fails to respond in 1 second (500 ms may be better).
>
> > Is there a library that makes this simple.  Seems like some hackery is
> > needed to make this happen with Net::HTTP
> > ex:
> >http://groups.google.com/group/chicagoruby/browse_thread/thread/8b8aa...
>
> > It seems like there are 100s of rubyhttplibraries out there.
>
> Would HTTParty have what you need?
>
>
>
> > Tony
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to