Fixed url encoding of HTTP method.