toggle quoted messageShow quoted text
I might suggest you consider sending the traffic through something like fiddler or wire shark, that allows you to see exactly what got sent.
On Dec 10, 2012 1:07 PM, "Fernando Usero" <fusero@...
Hi Lennon, thanks for your hint. It didn't work. I got this error using your approach:
RestClient::ServerBrokeConnection: Server broke connection:
from /home/fusero/.rvm/gems/ruby-1.9.2-p320@xserver/gems/rest-client-1.6.7/lib/restclient/request.rb:182:in `rescue in transmit'
from /home/fusero/.rvm/gems/ruby-1.9.2-p320@xserver/gems/rest-client-1.6.7/lib/restclient/request.rb:140:in `transmit'
from /home/fusero/.rvm/gems/ruby-1.9.2-p320@xserver/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
from /home/fusero/.rvm/gems/ruby-1.9.2-p320@xserver/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
from /home/fusero/.rvm/gems/ruby-1.9.2-p320@xserver/gems/rest-client-1.6.7/lib/restclient.rb:72:in `post'
from (irb):167:in `block in irb_binding'
BTW, first thing after fixing this I will handle the file descriptors that are left open.....