Module: Sinatra

Defined in:
lib/sinatra/lazy_auth.rb,
lib/sinatra/rabbit.rb,
lib/sinatra/url_for.rb,
lib/sinatra/respond_to.rb,
lib/sinatra/static_assets.rb

Overview

Accept header parsing was looked at but deemed too much of an irregularity to deal with. Problems with the header differences from IE, Firefox, Safari, and every other UA causes problems with the expected output. The general expected behavior would be serve html when no extension provided, but most UAs say they will accept application/xml with out a quality indicator, meaning you’d get the xml block served insead. Just plain retarded, use the extension and you’ll never be suprised.

Defined Under Namespace

Modules: LazyAuth, Rabbit, RabbitHelper, RespondTo, StaticAssets, UrlForHelper