set http method from super globals
createByName becomes static
Merge pull request #203 from dovg/http_method

set http method from super globals