diff options
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 6df16fa..b575e52 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -138,6 +138,7 @@ module OpenTox def from_file service_uri, filename, subjectid=nil file = File.new filename + # TODO: sdf files are incorrectly detected from_uri RestClientWrapper.post(service_uri, {:file => file}, {:subjectid => subjectid, :content_type => file.mime_type, :accept => "text/uri-list"}), subjectid end |