Expect HTTP method to be set through type, not method. Fixes #630.