module Sinatra
module Sinatra::Delegator
module Sinatra::Helpers
module Sinatra::Templates
module Sinatra::Templates::ContentTyped
class Sinatra::Application
class Sinatra::Base
class Sinatra::Helpers::StaticFile
class Sinatra::NotFound
class Sinatra::Request
class Sinatra::Response
class Sinatra::ShowExceptions
sinatra
1.2.0.a
# accept
def accept @env['HTTP_ACCEPT'].to_s.split(',').map { |a| a.split(';')[0].strip } end