public marks

PUBLIC MARKS from Spone with tags http & code

18 August 2014 17:30

Introducing Http::Exceptions by @smathieu - Rainforest QA Blog

If you’re using a library such as the excellent HTTParty, you still have to deal with various types of exceptions. In an ideal world, the return code of the HTTP request would be the sole indicator of failures, but HTTP libraries can raise a large number of exceptions (such as SocketError or Net::ReadTimeout) that you need to handle. Http::Exceptions provides an easy way to rescue exceptions that get thrown by your HTTP library and a way to raise exceptions on unexpected HTTP status codes.

Spone's TAGS related to tag http

analyse +   archive +   bluetooth +   code +   debug +   erreur +   exceptions +   get +   gps +   guide +   headers +   html +   library +   mobile +   nmea +   outil +   performance +   post +   proxy +   scripts +   test +   url +   url shortener +   windows +