From 80d49f60ac55cc2fb1c7974752e1e947fa3f3f70 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 21 Feb 2011 13:52:00 +0100 Subject: clean uri now works for https, rdf parsing issues: /features and ?feature_uris, missing subjectid --- lib/rest_client_wrapper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/rest_client_wrapper.rb') 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/ -- cgit v1.2.3