Request accepts method name in lower case

This fix prevent the 'indexOf undefined' that should append.