On Mon, 2013-01-28 at 18:18 +0200, mar...@redhat.com wrote: > From: marios <mar...@redhat.com> > > https://issues.apache.org/jira/browse/DTACLOUD-440 > > Signed-off-by: marios <mar...@redhat.com>
ACK, with one nit: > diff --git a/server/lib/deltacloud_rack.rb b/server/lib/deltacloud_rack.rb > index 8ddcb41..1a1d5b3 100644 > --- a/server/lib/deltacloud_rack.rb > +++ b/server/lib/deltacloud_rack.rb > @@ -68,6 +68,10 @@ module Deltacloud > > set :views, File.join(File.dirname(__FILE__), '..', 'views') > > + get '/robots.txt' do > + File.read(File.join('public', 'robots.txt')) > + end This should be get '/robots.txt' do send_file File.join('public', 'robots.txt') end so that we get the right content-type in the response. David