Shamelessly check if there is a request method that you can call
change method exists to instanceof
change status code to 418
Merge pull request #46 from charlier/request_check

Shamelessly check if there is a request method that you can call