Request method reference breaks Sinatra apps

Fix for request reference, which appears to only work for Rails applications.