Applying patch
Merge pull request #6 from underscorephil/master

Updating logic for determining HTTP method