Update request.rb: fix syntax