Making it work with sinatra 1.4.3. Also, Rack version was updated to use the MIME_TYPES mapping that includes .xml.