summaryrefslogtreecommitdiff
path: root/lib/rest_client_wrapper.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-02-21 13:52:00 +0100
committermguetlein <martin.guetlein@gmail.com>2011-02-21 13:52:00 +0100
commit80d49f60ac55cc2fb1c7974752e1e947fa3f3f70 (patch)
tree73ffdbcebfab9debc1dd17284fe6623f245a479e /lib/rest_client_wrapper.rb
parent1bac8bd64f9f703d7e20a65da0ffb05cb150e90f (diff)
clean uri now works for https, rdf parsing issues: /features and ?feature_uris, missing subjectid
Diffstat (limited to 'lib/rest_client_wrapper.rb')
-rw-r--r--lib/rest_client_wrapper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rest_client_wrapper.rb b/lib/rest_client_wrapper.rb
index d3136c7..dac24dc 100644
--- a/lib/rest_client_wrapper.rb
+++ b/lib/rest_client_wrapper.rb
@@ -76,7 +76,8 @@ module OpenTox
else
result = resource.send(rest_call, headers)
end
-
+ #LOGGER.debug "result body size: #{result.body.size}"
+
# PENDING NTUA does return errors with 200
raise RestClient::ExceptionWithResponse.new(result) if uri=~/ntua/ and result.body =~ /about.*http:\/\/anonymous.org\/error/