Sinatra::Base#get
1107 # Defining a `GET` handler also automatically defines
1108 # a `HEAD` handler.
1109 def get(path, opts={}, &block)
1110 conditions = @conditions.dup
1111 route('GET', path, opts, &block)
1112
1113 @conditions = conditions
1114 route('HEAD', path, opts, &block)
1115 end