Use updated-for-Sinatra-1.4 method of testing accept header.
Use updated-for-Sinatra-1.4 method of testing accept header.

Cannot use request.accept?() because many browser requests
automatically include */* which causes that method to
return true.

obfuscurity/descartes,gcnonato/descartes,obfuscurity/descartes,1mentat/descartes,1mentat/descartes,brad811/descartes,gcnonato/descartes,brad811/descartes,gcnonato/descartes,brad811/descartes