diff options
author | Christoph Helma <helma@in-silico.de> | 2010-02-19 14:31:40 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-02-19 14:31:40 +0100 |
commit | 0f8039d1f4f35857cd36cc7582014690373ea71a (patch) | |
tree | 3f4e17512004f326c67148cecb970242e1778982 /lazar.rb | |
parent | a16fa23b2583afb84e1e60cf91588a67011ab6a4 (diff) |
mime types added to response header
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ get '/lazar/?' do + response['Content-Type'] = 'application/rdf+xml' OpenTox::Algorithm::Lazar.new.rdf end @@ -96,6 +97,7 @@ post '/lazar/?' do # create a model LOGGER.debug "Lazar task PID: " + pid.to_s task.pid = pid #status 303 + response['Content-Type'] = 'text/uri-list' task.uri #model.uri |