How to debug, with Net::HTTP::Spore?

11 views
Skip to first unread message

Pierre M

unread,
Dec 1, 2013, 7:22:53 PM12/1/13
to spore...@googlegroups.com
Is it possible for me to see
    - what requests will be sent as a result of my .json file
    - what requests have been sent by the client
    - the responses to these requests
    ?

I couldn't figure it out because of the apparent complexity of the design (based on Class::MOP), and the lack of documentation.

I ask for the last one especially, because when I do a request which returns a 400 error code then I cannot see the response at all: I only get an exception 
"HTTP error 400%"
and cannot figure out where the actual response has gone (even though I have set 400 as "expected" in the .json file)

Thank you for any help / hint


--- Pierre Masci
I check email a couple times daily; to reach me sooner, you can send me a text message via this page: https://awayfind.com/mascip
Reply all
Reply to author
Forward
0 new messages