Possible bug with net:http on mac os 10.5.6 with shoes version 0.r1134

2009-03-26 Thread Vijay
for line 1. Executing line 2 makes shoes throw up a 'Connection refused ' error in console. It seems to me that 'localhost' is not getting resolved correctly. I am attaching a screen shot of the console with this mail. Regards, Vijay PS - I have an earlier post titled 'help with http post in shoes' mentioning similar issue <>

Re: help with http post in shoes

2009-03-12 Thread Vijay
another developer and that is what I am supposed to use. If that library uses net/http to authenticate, how can I integrate such a library with shoes given that I encounter the net/http problem with shoes. Regards, Vijay On Wed, Mar 11, 2009 at 8:56 PM, _why wrote: > On Wed, Mar 11, 2009 at 05

help with http post in shoes

2009-03-11 Thread Vijay
rl_encode(v)}"}.join("&") resp, data = @http.post(path, body, @headers) para resp.response para data } I can run the program without Shoes block and it runs fine. What am I doing wrong ? Thanks for all the help. Regards, Vijay PS - I understand that shoes recommends openuri over the ruby http class but I would really appreciate comments on this issue