summaryrefslogtreecommitdiff
path: root/lib/rest-client-wrapper.rb
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2012-06-04 16:14:07 +0200
committerrautenberg <rautenberg@in-silico.ch>2012-06-04 16:14:07 +0200
commit5f61cefdefc51a728147478820ffe04c5ec127d5 (patch)
treedc9000868531038e35df4954acffcc8b88acf904 /lib/rest-client-wrapper.rb
parent13ec52dff891dfe8f1f04315d8d8b5075e4b32e1 (diff)
remove URI.ssl and URI.accessable test
Diffstat (limited to 'lib/rest-client-wrapper.rb')
-rw-r--r--lib/rest-client-wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rest-client-wrapper.rb b/lib/rest-client-wrapper.rb
index 479d5a5..5707831 100644
--- a/lib/rest-client-wrapper.rb
+++ b/lib/rest-client-wrapper.rb
@@ -18,7 +18,7 @@ module OpenTox
# check input
@subjectid = headers[:subjectid] ? headers[:subjectid] : nil
bad_request_error "Invalid URI: '#{uri}'" unless URI.valid? uri
- not_found_error "URI '#{uri}' not found." unless URI.accessible?(uri, @subjectid) unless URI.ssl?(uri)
+ #not_found_error "URI '#{uri}' not found." unless URI.accessible?(uri, @subjectid) unless URI.ssl?(uri)
bad_request_error "Headers are not a hash: #{headers.inspect}" unless headers==nil or headers.is_a?(Hash)
# make sure that no header parameters are set in the payload
[:accept,:content_type,:subjectid].each do |header|