Request accepts method name in lower case

This fix prevent the 'indexOf undefined' that should append.
Merge pull request #9 from yamsellem/patch-1

Request accepts method name in lower case