set_debug_output
You can use this to get extensive debugging for everything sent or received.
You might use it like this:
@uri = URI.parse(service_url)
@url = Net::HTTP.new(@uri.host, @uri.port)
@url.set_debug_output $stderr
That will print out everything sent and received using that @url object.

0 comments:
Post a Comment