class Sinatra::Base

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

a `HEAD` handler.
Defining a `GET` handler also automatically defines
def get(path, opts={}, &block)
  conditions = @conditions.dup
  route('GET', path, opts, &block)
  @conditions = conditions
  route('HEAD', path, opts, &block)
end