support for overriding the http method at runtime