Avoid unecessary HTTPMethod -> string -> HTTPMethod conversion

A rather simple change.
The downside is that it'll conflict with #908 (L.351), which I'd prefer to see merged first, if you got the time to review it ;)
Same here.