diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-03-26 10:56:04 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-03-26 10:56:04 +0100 |
commit | a54db46684680d98311631804eca367cc949a715 (patch) | |
tree | 283b8c5f256e8605131cbfeae2217a77d0288ca7 /lib/rest-client-wrapper.rb | |
parent | 4ba2cc9849473f97baf75195bb36c5057f1c58d4 (diff) |
code cleanup and refactoring.
Diffstat (limited to 'lib/rest-client-wrapper.rb')
-rw-r--r-- | lib/rest-client-wrapper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rest-client-wrapper.rb b/lib/rest-client-wrapper.rb index f3c56c8..38219c1 100644 --- a/lib/rest-client-wrapper.rb +++ b/lib/rest-client-wrapper.rb @@ -37,8 +37,6 @@ module OpenTox headers.each{ |k,v| headers.delete(k) if v==nil } if headers #remove keys with empty values, as this can cause problems args[:headers] = headers - $logger.debug "POST #{uri} #{payload.inspect}" if method.to_s=="post" && payload.is_a?(Hash) - @request = RestClient::Request.new(args) # ignore error codes from Task services (may return error codes >= 400 according to API, which causes exceptions in RestClient and RDF::Reader) @response = @request.execute do |response, request, result| |