class Sinatra::Base

def get(path, opts={}, &block)

def get(path, opts={}, &block)
  conditions = @conditions.dup
  route('GET', path, opts, &block)
  @conditions = conditions
  head(path, opts) { invoke(block) ; [] }
end