Added support for http request methods.