check if eventmachine httpclient is succesful

Developer from somewhere

response.response_header.successful?